aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-misc/exitcode2.tests
diff options
context:
space:
mode:
authorAndrey Mazo <ahippo@yandex.com>2019-02-22 16:46:19 -0500
committerDenys Vlasenko <vda.linux@googlemail.com>2019-02-27 08:27:47 +0100
commit87e216294af9eec39c0c1d553555f8a98c15db38 (patch)
tree5d3232db1a6507056974fdc6a70b5519e7b655c6 /shell/ash_test/ash-misc/exitcode2.tests
parent544143da0cd0309b46427d4da9858dcd1dca953d (diff)
downloadbusybox-87e216294af9eec39c0c1d553555f8a98c15db38.tar.gz
udhcpc: don't exit after backgrounding on -n -b
Currently, running "udhcpc -n -b" causes udhcpc to go to background and then exit after some time unless a lease is obtained. It's not very useful to do so as the calling process doesn't know if the lease was obtained or not anyway. The code actually tries to favor "-b" over "-n", but doesn't clear "-n" flag while clearing "-b" after backgrounding. So, clear "-n" flag after going into background. This effectively makes "-b" override "-n" completely and "-n -b" behave the same as "-b". This allows to override default "-n" option, passed to udhcpc by ifupdown, without recompiling busybox. URL: https://bugs.busybox.net/11691 Signed-off-by: Andrey Mazo <ahippo@yandex.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-misc/exitcode2.tests')
0 files changed, 0 insertions, 0 deletions