upload-pack: add get_reachable_list()
[gitweb.git] / run-command.c
index 51fd72c4273c3ee59246285e40c9a5f9bd0e2f98..cdf01845790849f863aef4195a68e12fa19ca543 100644 (file)
@@ -247,7 +247,7 @@ static int wait_or_whine(pid_t pid, const char *argv0, int in_signal)
                error("waitpid is confused (%s)", argv0);
        } else if (WIFSIGNALED(status)) {
                code = WTERMSIG(status);
-               if (code != SIGINT && code != SIGQUIT)
+               if (code != SIGINT && code != SIGQUIT && code != SIGPIPE)
                        error("%s died of signal %d", argv0, code);
                /*
                 * This return value is chosen so that code & 0xff