[core] fix lighttpd -1 one-shot graceful shutdown

fix lighttpd -1 graceful shutdown (one-shot mode)
(regression in lighttpd 1.4.46)
This commit is contained in:
Glenn Strauss 2017-11-03 21:51:34 -04:00
parent bfef0907bd
commit 0e84df8180
1 changed files with 1 additions and 1 deletions

View File

@ -1342,7 +1342,7 @@ static int server_main (server * const srv, int argc, char **argv) {
}
#endif
graceful_restart = 0;/*(reset here after avoiding further daemonizing)*/
graceful_shutdown= 0;
if (0 == oneshot_fd) graceful_shutdown = 0;
#ifdef HAVE_SIGACTION