From a811ae25dc1771949410ce186180a8130d9a36ac Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Tue, 14 Mar 2017 16:04:54 -0700 Subject: [PATCH] don't preemptively send SIGPIPE Fixes #1926 --- src/proc.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/proc.cpp b/src/proc.cpp index 7b070ce73..19a39336e 100644 --- a/src/proc.cpp +++ b/src/proc.cpp @@ -304,9 +304,6 @@ static void handle_child_status(pid_t pid, int status) { for (process_ptr_t &p : j->processes) { if (pid == p->pid) { mark_process_status(p.get(), status); - if (p->completed && prev && !prev->completed && prev->pid) { - kill(prev->pid, SIGPIPE); - } found_proc = p.get(); break; }