From: Richard Basch Date: Mon, 22 Jan 1996 04:55:26 +0000 (+0000) Subject: Don't syslog if the child exited normally X-Git-Tag: krb5-1.0-beta6~595 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6992a1dde383aa1a35f562b72b3038cb54c492af;p=krb5.git Don't syslog if the child exited normally git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7353 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin.v4/server/admin_server.c b/src/kadmin.v4/server/admin_server.c index c8d960a0e..24e79b84d 100644 --- a/src/kadmin.v4/server/admin_server.c +++ b/src/kadmin.v4/server/admin_server.c @@ -489,8 +489,9 @@ do_child(sig) pidarraysize--; #ifdef WAIT_USES_INT if (WIFEXITED(status) || WIFSIGNALED(status)) - syslog(LOG_ERR, "child %d: termsig %d, retcode %d", pid, - WTERMSIG(status), WEXITSTATUS(status)); + if (WTERMSIG(status) || WEXITSTATUS(status)) + syslog(LOG_ERR, "child %d: termsig %d, retcode %d", pid, + WTERMSIG(status), WEXITSTATUS(status)); #else if (status.w_retcode || status.w_coredump || status.w_termsig)