aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-05-21 17:01:52 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-05-21 17:01:52 +0000
commitde123bcf1d073d9e8913612d8898a5997667455b (patch)
tree893f7ac441e4d9460af0e6665827d2c58544eac8
parent7fe73c2268d31251303fa345735938bf7b38ccde (diff)
downloadfetchmail-de123bcf1d073d9e8913612d8898a5997667455b.tar.gz
fetchmail-de123bcf1d073d9e8913612d8898a5997667455b.tar.bz2
fetchmail-de123bcf1d073d9e8913612d8898a5997667455b.zip
Complain about fetchall in idle mode, too.
svn path=/branches/BRANCH_6-3/; revision=4850
-rw-r--r--fetchmail.c4
1 files 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"));
}
}
}