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 62d596974904f99cf496b339d36764c01e7e5601..fe99b02cb4605c1fd9a237b6ae743bd997012fdf 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))