summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/syslogd/syslogd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
index 15e1e0fb867..207eea429d0 100644
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslogd.c,v 1.256 2018/08/31 19:06:08 bluhm Exp $ */
+/* $OpenBSD: syslogd.c,v 1.257 2018/11/29 21:10:51 kn Exp $ */
/*
* Copyright (c) 2014-2017 Alexander Bluhm <bluhm@genua.de>
@@ -880,7 +880,7 @@ main(int argc, char *argv[])
signal_add(ev_hup, NULL);
signal_add(ev_term, NULL);
- if (Debug) {
+ if (Debug || Foreground) {
signal_add(ev_int, NULL);
signal_add(ev_quit, NULL);
} else {