diff options
author | Stef Walter <stef@memberwebs.com> | 2005-12-08 23:54:05 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2005-12-08 23:54:05 +0000 |
commit | ddaf4d947759d963588ac5636f7a8f9b8b4809aa (patch) | |
tree | e1945c7113d035919624c654e53a3dfc5b0b4e97 /src/proxsmtpd.c | |
parent | c25be954c4a05dc4a8df0248e132091145c02857 (diff) |
Fix problem when waiting for processes.
Diffstat (limited to 'src/proxsmtpd.c')
-rw-r--r-- | src/proxsmtpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proxsmtpd.c b/src/proxsmtpd.c index 288e3d4..9bd25ac 100644 --- a/src/proxsmtpd.c +++ b/src/proxsmtpd.c @@ -873,7 +873,7 @@ static int wait_process(spctx_t* sp, pid_t pid, int* status) case 0: break; case -1: - if(errno != ECHILD || errno != ESRCH) + if(errno != ECHILD && errno != ESRCH) { sp_message(sp, LOG_CRIT, "error waiting on process"); return -1; |