summaryrefslogtreecommitdiff
path: root/server/main.c
diff options
context:
space:
mode:
authorGravatar Kenneth G Raeburn <raeburn@mit.edu>1990-12-16 07:55:47 +0000
committerGravatar Kenneth G Raeburn <raeburn@mit.edu>1990-12-16 07:55:47 +0000
commit37839b5417742831aa532af8d0fe2b89f56ff4c0 (patch)
tree45edbb521ee49e71834fd93dfcd8f75b60eac00b /server/main.c
parent0106a68118637eeaf8ac266f3bfc41c4442995ba (diff)
Always log "ready for action" message.
Diffstat (limited to 'server/main.c')
-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);