aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
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);
}