From 93025e3732f2b312516ecb059768a3577c9e46f1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 5 Apr 1997 16:57:50 +0000 Subject: Robert de Bath's changes. svn path=/trunk/; revision=952 --- options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'options.c') diff --git a/options.c b/options.c index b22e801c..13df2277 100644 --- a/options.c +++ b/options.c @@ -307,9 +307,9 @@ struct query *ctl; /* option record to be initialized */ return(-1); } - if (poll_interval == 0 && use_syslog) + if ((poll_interval == 0 || nodetach) && use_syslog) { - fputs("The --syslog option is only valid with the --daemon option.\n", stderr); + fputs("The --syslog option is only valid when running detached.\n", stderr); return(-1); } -- cgit v1.2.3