diff options
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; |