aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 11d68982..1934e9cf 100644
--- a/driver.c
+++ b/driver.c
@@ -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)