From dcfcc808479103fcff5667e09099405a648bb36a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 28 Oct 1996 20:37:09 +0000 Subject: Correct sttus interpretation. svn path=/trunk/; revision=412 --- fetchmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index 484a45e5..d6b8349d 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -735,7 +735,7 @@ int fd; * Try to pass up an error if the MDA returned nonzero status, * on the assumption that this means it was reporting failure. */ - if (WIFEXITED(status) == 0 || WEXITSTATUS(status) != 0) + if (WIFEXITED(status) == 0 && WEXITSTATUS(status) != 0) { perror("fetchmail: MDA exited abnormally or returned nonzero status"); err = -1; -- cgit v1.2.3