projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d4bb40
)
Don't syslog if the child exited normally
author
Richard Basch
<probe@mit.edu>
Mon, 22 Jan 1996 04:55:26 +0000
(
04:55
+0000)
committer
Richard Basch
<probe@mit.edu>
Mon, 22 Jan 1996 04:55:26 +0000
(
04:55
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7353
dc483132
-0cff-0310-8789-
dd5450dbe970
src/kadmin.v4/server/admin_server.c
patch
|
blob
|
history
diff --git
a/src/kadmin.v4/server/admin_server.c
b/src/kadmin.v4/server/admin_server.c
index c8d960a0ed93302316ea662ea6c830df26b18b00..24e79b84dceb4f0e89b9986df4d2aeef6131a143 100644
(file)
--- 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)