summaryrefslogtreecommitdiff
path: root/src/activate/activate.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-08 13:57:18 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-08 14:07:27 +0100
commit9d458c0902cdc5d993fd2f78d36fb83a8130c81b (patch)
tree7d50bb0b12e8481c4f1083608da68d26d718142c /src/activate/activate.c
parentcbc9fbd131b485f529715f13bdb2a82f1562d42c (diff)
clients: fix some signal handler issues
Diffstat (limited to 'src/activate/activate.c')
-rw-r--r--src/activate/activate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/activate/activate.c b/src/activate/activate.c
index 3198f7de98..07e46b9691 100644
--- a/src/activate/activate.c
+++ b/src/activate/activate.c
@@ -262,6 +262,8 @@ static int do_accept(const char* name, char **argv, char **envp, int fd) {
/* SIGCHLD handler. */
static void sigchld_hdl(int sig, siginfo_t *t, void *data) {
+ PROTECT_ERRNO;
+
log_info("Child %d died with code %d", t->si_pid, t->si_status);
/* Wait for a dead child. */
waitpid(t->si_pid, NULL, 0);