mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
minor: spawn_child_exited: use "signal" for signals in warning (#2417)
This commit is contained in:
parent
622a330e63
commit
c21e8b980a
1 changed files with 2 additions and 1 deletions
3
spawn.c
3
spawn.c
|
@ -385,7 +385,8 @@ spawn_child_exited(pid_t pid, int status)
|
|||
|
||||
running_child_t *child = running_child_array_lookup(&running_children, &needle);
|
||||
if (child == NULL) {
|
||||
warn("Unknown child %d exited with status %d", (int) pid, status);
|
||||
warn("Unknown child %d exited with %s %d",
|
||||
(int)pid, WIFEXITED(status) ? "status" : "signal", status);
|
||||
return;
|
||||
}
|
||||
exit_callback = child->exit_callback;
|
||||
|
|
Loading…
Reference in a new issue