From 6992a1dde383aa1a35f562b72b3038cb54c492af Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Mon, 22 Jan 1996 04:55:26 +0000 Subject: [PATCH] Don't syslog if the child exited normally git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7353 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin.v4/server/admin_server.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) -- 2.26.2