diff options
author | Ron Yorston | 2020-06-09 17:38:21 +0200 |
---|---|---|
committer | Denys Vlasenko | 2020-06-09 17:38:21 +0200 |
commit | 17764603f2a10bd43d174dc05512f38ab16a080a (patch) | |
tree | 5b3905a1a35be135cc650b24cc5fe956eaf2c391 /shell/hush_test/hush-vars/var_10.right | |
parent | 0cad5f9b6dd80858c3ebb3893e04d2378eddc872 (diff) | |
download | busybox-17764603f2a10bd43d174dc05512f38ab16a080a.zip busybox-17764603f2a10bd43d174dc05512f38ab16a080a.tar.gz |
httpd: allow '-h' to work when daemonized with NOMMU enabled
Commit d1b75e184 (httpd: permit non-default home directory with NOMMU
enabled) only works when used with the '-f' (foreground) option.
When '-f' isn't specified and NOMMU is enabled bb_daemonize_or_rexec()
is called to daemonize the server. Since the server process has been
re-execed the previous patch results in the xchdir() not being called.
Fix this by resetting the re_execed variable in this case.
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-vars/var_10.right')
0 files changed, 0 insertions, 0 deletions