aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pies.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pies.c b/src/pies.c
index a678a7e..cc47e85 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -1629,17 +1629,17 @@ sig_handler (int sig)
case SIGTERM:
case SIGQUIT:
logmsg (LOG_NOTICE, "received signal %d", sig);
- action = ACTION_STOP;
+ pies_schedule_action (ACTION_STOP);
break;
case SIGHUP:
logmsg (LOG_NOTICE, "received signal %d", sig);
- action = ACTION_RELOAD;
+ pies_schedule_action (ACTION_RELOAD);
break;
case SIGUSR1:
logmsg (LOG_NOTICE, "received signal %d", sig);
- action = ACTION_RESTART;
+ pies_schedule_action (ACTION_RESTART);
break;
case SIGALRM:

Return to:

Send suggestions and report system problems to the System administrator.