mirror of
https://github.com/troglobit/libuev.git
synced 2026-10-23 11:24:34 +00:00
Minor followup to bfcea55, add else statment.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
cd4daf0d36
commit
f29f3b7f38
1 file changed
+2
@@ -103,6 +103,8 @@ static void work_cb(uev_ctx_t *UNUSED(ctx), uev_t *UNUSED(w), void *arg, int UNU
|
||||
printf("Child exited normally => %d\n", WEXITSTATUS(status));
|
||||
else if (WCOREDUMP(status))
|
||||
printf("Child crashed!\n");
|
||||
else
|
||||
printf("Child did not exit normally!\n");
|
||||
}
|
||||
|
||||
static void exit_cb(uev_ctx_t *ctx, uev_t *UNUSED(w), void *UNUSED(arg), int UNUSED(events))
|
||||
|
||||
Reference in new issue
Block a user