aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'options.c')
-rw-r--r--options.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/options.c b/options.c
index 54688561..f6899e11 100644
--- a/options.c
+++ b/options.c
@@ -228,6 +228,12 @@ struct hostrec *queryctl; /* option record to be initialized */
}
}
+ if (check_only && poll_interval)
+ {
+ fputs("The --check and --daemon options aren't compatible.\n", stderr);
+ return(-1);
+ }
+
if (errflag || ocount > 1) {
/* squawk if syntax errors were detected */
fputs("usage: fetchmail [options] [server ...]\n", stderr);