diff --git a/tutorial/tutorial-16-graceful_restart/bootstrap.c b/tutorial/tutorial-16-graceful_restart/bootstrap.c index b442a633..7085ce02 100644 --- a/tutorial/tutorial-16-graceful_restart/bootstrap.c +++ b/tutorial/tutorial-16-graceful_restart/bootstrap.c @@ -107,6 +107,7 @@ int main(int argc, const char *argv[]) status = 0; ret = 0; + flag = 0; fprintf(stderr, "Bootstrap daemon running with server pid-%d. " "Send SIGUSR1 to RESTART or SIGTERM to STOP.\n", pid);