diff options
-rw-r--r-- | fetchmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c index 3dea6252..c5883ffc 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -856,7 +856,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; |