From b0ff20aff417c24ad990cf1b4901990f1665ceb9 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 16 Apr 1997 18:18:19 +0000 Subject: Correct return status, svn path=/trunk/; revision=958 --- driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'driver.c') 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; -- cgit v1.2.3