aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-04-05 16:57:50 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-04-05 16:57:50 +0000
commit93025e3732f2b312516ecb059768a3577c9e46f1 (patch)
tree0c5b2c62fed52989050e6f529a769d9a2c01709a /options.c
parent53b50716e3d468da291c646829671f794bf034f0 (diff)
downloadfetchmail-93025e3732f2b312516ecb059768a3577c9e46f1.tar.gz
fetchmail-93025e3732f2b312516ecb059768a3577c9e46f1.tar.bz2
fetchmail-93025e3732f2b312516ecb059768a3577c9e46f1.zip
Robert de Bath's changes.
svn path=/trunk/; revision=952
Diffstat (limited to 'options.c')
-rw-r--r--options.c4
1 files changed, 2 insertions, 2 deletions
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);
}