We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c953cf9 + 7b91929 commit fd3ab91Copy full SHA for fd3ab91
1 file changed
run-command.c
@@ -48,7 +48,7 @@ static void cleanup_children(int sig, int in_signal)
48
49
kill(p->pid, sig);
50
51
- if (p->process->wait_after_clean) {
+ if (p->process && p->process->wait_after_clean) {
52
p->next = children_to_wait_for;
53
children_to_wait_for = p;
54
} else {
0 commit comments