summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/main.c b/server/main.c
index fa8751f..44e8d24 100644
--- a/server/main.c
+++ b/server/main.c
@@ -230,11 +230,11 @@ main(int argc, char **argv)
#define SIG_IGN SignalIgnore
#endif
(void) signal(SIGINT, SIG_IGN);
- syslog(LOG_INFO, "Ready for action");
#else
(void) signal(SIGINT, bye);
(void) signal(SIGTERM, bye);
-#endif DEBUG
+#endif
+ syslog(LOG_INFO, "Ready for action");
(void) signal(SIGUSR1, dbug_on);
(void) signal(SIGUSR2, dbug_off);
(void) signal(SIGCHLD, reap);