Fix for "Broken pipe" issue, vodz last_patch116_3
authorGlenn L McGrath <bug1@ihug.co.nz>
Tue, 25 Nov 2003 20:45:38 +0000 (20:45 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Tue, 25 Nov 2003 20:45:38 +0000 (20:45 -0000)
shell/ash.c

index 62d5969..fe99b02 100644 (file)
@@ -6690,7 +6690,7 @@ sprint_status(char *s, int status, int sigonly)
 #endif
                        st = WTERMSIG(status);
                if (sigonly) {
-                       if (st == SIGINT)
+                       if (st == SIGINT || st == SIGPIPE)
                                goto out;
 #if JOBS
                        if (WIFSTOPPED(status))