aboutsummaryrefslogtreecommitdiff
path: root/networking/nc_bloaty.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-06-09 17:38:21 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2020-06-09 17:38:21 +0200
commit17764603f2a10bd43d174dc05512f38ab16a080a (patch)
tree5b3905a1a35be135cc650b24cc5fe956eaf2c391 /networking/nc_bloaty.c
parent0cad5f9b6dd80858c3ebb3893e04d2378eddc872 (diff)
downloadbusybox-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 'networking/nc_bloaty.c')
0 files changed, 0 insertions, 0 deletions