aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 744f16e3..753b90ec 100644
--- a/driver.c
+++ b/driver.c
@@ -1492,7 +1492,7 @@ const struct method *proto; /* protocol method table */
ok = gen_transact(sockfp, protocol->exit_cmd);
if (ok == 0)
- ok = PS_SUCCESS;
+ ok = (fetches > 0) ? PS_SUCCESS : PS_NOMAIL;
set_timeout(0);
fclose(sockfp);
goto closeUp;