diff options
| author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-28 20:37:09 +0000 |
|---|---|---|
| committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-28 20:37:09 +0000 |
| commit | dcfcc808479103fcff5667e09099405a648bb36a (patch) | |
| tree | 1b831c612b708397c18e82b0c52503400d342574 /fetchmail.c | |
| parent | 650bdbda3718f13abad1f61e365c975ab00f78ce (diff) | |
| download | fetchmail-dcfcc808479103fcff5667e09099405a648bb36a.tar.gz fetchmail-dcfcc808479103fcff5667e09099405a648bb36a.tar.bz2 fetchmail-dcfcc808479103fcff5667e09099405a648bb36a.zip | |
Correct sttus interpretation.
svn path=/trunk/; revision=412
Diffstat (limited to 'fetchmail.c')
| -rw-r--r-- | fetchmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
