diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-04-29 14:24:07 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-04-29 14:24:07 +0200 |
commit | fa8878bf1fe331df752395cce90da212e25e07b7 (patch) | |
tree | e2312f8e46bfcb96ef1d1bd758216fe8afcbd98b /shell/cttyhack.c | |
parent | 13f42045616320119bb47cf8df302cfcc76ade9a (diff) | |
download | busybox-fa8878bf1fe331df752395cce90da212e25e07b7.tar.gz |
start-stop-daemon: do try to close fds > 2
sh -c 'exec 3>&1; exec start-stop-daemon -S -b -x /bin/sleep -- 123'
now closes fd 3.
function old new delta
bb_daemonize_or_rexec 183 192 +9
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 9/0) Total: 9 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/cttyhack.c')
0 files changed, 0 insertions, 0 deletions