aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2008-02-22 14:10:00 +0000
committerMatthias Andree <matthias.andree@gmx.de>2008-02-22 14:10:00 +0000
commit22f1774961836aee7773b24c17dab5e7dd5da119 (patch)
treebfd1bb53cc440edbde15dda516282e54b0d6b5ff /fetchmail.c
parent98b474dd95b64b7ff52fb0d4c2b479e5bbfd0ede (diff)
downloadfetchmail-22f1774961836aee7773b24c17dab5e7dd5da119.tar.gz
fetchmail-22f1774961836aee7773b24c17dab5e7dd5da119.tar.bz2
fetchmail-22f1774961836aee7773b24c17dab5e7dd5da119.zip
Redo commit 'In verbose mode, log if --check mode is enabled.'
svn path=/branches/BRANCH_6-3/; revision=5160
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 7abdb1e0..367070e6 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -608,6 +608,10 @@ int main(int argc, char **argv)
/* here's the exclusion lock */
fm_lock_or_die();
+ if (check_only && outlevel >= O_VERBOSE) {
+ report(stdout, GT_("--check mode enabled, not fetching mail\n"));
+ }
+
/*
* Query all hosts. If there's only one, the error return will
* reflect the status of that transaction.