Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
merge-base --fork-point doc: clarify the example and failure modes
[gitweb.git]
/
run-command.c
diff --git
a/run-command.c
b/run-command.c
index 5227f78aeaae7e76bfc85d4d7ca2886b2b52215e..574b81d3e82bbe6de31b141c3951ab408daad5e6 100644
(file)
--- a/
run-command.c
+++ b/
run-command.c
@@
-48,7
+48,7
@@
static void cleanup_children(int sig, int in_signal)
kill(p->pid, sig);
- if (p->process->wait_after_clean) {
+ if (p->process
&& p->process
->wait_after_clean) {
p->next = children_to_wait_for;
children_to_wait_for = p;
} else {