aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-04-05 19:22:46 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-04-05 19:22:46 +0000
commit3c9b31ad837bed8e9c556107f77b5ad96be1a4d1 (patch)
tree6cb521c63fb08afb265c67e2c02881601b6c7efc /fetchmail.c
parent93025e3732f2b312516ecb059768a3577c9e46f1 (diff)
downloadfetchmail-3c9b31ad837bed8e9c556107f77b5ad96be1a4d1.tar.gz
fetchmail-3c9b31ad837bed8e9c556107f77b5ad96be1a4d1.tar.bz2
fetchmail-3c9b31ad837bed8e9c556107f77b5ad96be1a4d1.zip
Option changes.
svn path=/trunk/; revision=953
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index ce301534..ea5888ce 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -671,6 +671,10 @@ static int load_params(int argc, char **argv, int optind)
if (cmd_daemon >= 0)
poll_interval = cmd_daemon;
+ /* check and daemon options are not compatible */
+ if (check_only && poll_interval)
+ poll_interval = 0;
+
return(implicitmode);
}