From de123bcf1d073d9e8913612d8898a5997667455b Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 21 May 2006 17:01:52 +0000 Subject: Complain about fetchall in idle mode, too. svn path=/branches/BRANCH_6-3/; revision=4850 --- fetchmail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fetchmail.c b/fetchmail.c index 4905c799..dd082f2f 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -1273,10 +1273,10 @@ static int load_params(int argc, char **argv, int optind) * "I beg to you, have mercy on the we[a]k minds like myself." * wrote Pehr Anderson. Your petition is granted. */ - if (ctl->fetchall && ctl->keep && run.poll_interval && !nodetach && !configdump) + if (ctl->fetchall && ctl->keep && (run.poll_interval || ctl->idle) && !nodetach && !configdump) { (void) fprintf(stderr, - GT_("Both fetchall and keep on in daemon mode is a mistake!\n")); + GT_("Both fetchall and keep on in daemon or idle mode is a mistake!\n")); } } } -- cgit v1.2.3