diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-08-01 00:00:15 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-08-01 00:00:15 +0000 |
commit | 7c5edbacee71d3d6cc2ac7d85fc97cfc678ea3cf (patch) | |
tree | 1f0e7656cd5c08be5cc0217a6ab442bc071ec967 | |
parent | 12b90ee4e7fe289972e4ac52efac42790c0d5035 (diff) | |
download | fetchmail-7c5edbacee71d3d6cc2ac7d85fc97cfc678ea3cf.tar.gz fetchmail-7c5edbacee71d3d6cc2ac7d85fc97cfc678ea3cf.tar.bz2 fetchmail-7c5edbacee71d3d6cc2ac7d85fc97cfc678ea3cf.zip |
Suppress some unnecessary messages.
svn path=/trunk/; revision=1212
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | driver.c | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -23,6 +23,7 @@ fetchmail-4.0.6 () * Changed semantics of `via' and `poll <name>' to be more orthogonal. * Substantially improved option coverage on the man page. * Yet another try at getting the remote-build right for Harry McGavran. +* Don't emit "No mail" messages in (non-verbose) daemon mode). WARNING: If you are running multidrop, (RE)READ FAQ ITEM F1 NOW! There are 255 people on the fetchmail-friends list. @@ -1475,7 +1475,11 @@ const struct method *proto; /* protocol method table */ if (count == -1) /* only used for ETRN */ error(0, 0, "Polling %s", buf); else if (count == 0) - error(0, 0, "No mail at %s", buf); + { + /* these are pointless in normal daemon mode */ + if (poll_interval == 0 || outlevel == O_VERBOSE ) + error(0, 0, "No mail at %s", buf); + } else { if (new != -1 && (count - new) > 0) |