diff options
author | Richard Basch <probe@mit.edu> | 1996-01-22 04:55:26 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1996-01-22 04:55:26 +0000 |
commit | 6992a1dde383aa1a35f562b72b3038cb54c492af (patch) | |
tree | 932797fffadf7cd1afbf7fde2499bccf0e1ae3d1 /src | |
parent | 4d4bb40eba6882f011f03e64094000a98360f4e8 (diff) | |
download | krb5-6992a1dde383aa1a35f562b72b3038cb54c492af.tar.gz krb5-6992a1dde383aa1a35f562b72b3038cb54c492af.tar.xz krb5-6992a1dde383aa1a35f562b72b3038cb54c492af.zip |
Don't syslog if the child exited normally
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7353 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r-- | src/kadmin.v4/server/admin_server.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kadmin.v4/server/admin_server.c b/src/kadmin.v4/server/admin_server.c index c8d960a0ed..24e79b84dc 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) |