diff options
-rw-r--r-- | driver.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1647,9 +1647,12 @@ const struct method *proto; /* protocol method table */ /* these are pointless in normal daemon mode */ if (pass == 1 && (poll_interval == 0 || outlevel == O_VERBOSE)) error(0, 0, "No mail at %s", buf); - break; } + /* very important, this is where we leave the do loop */ + if (count == 0) + break; + if (check_only) { if (new == -1 || ctl->fetchall) |