From 4ddddd180eaa7a1f4b2071c37425d99c3ef8040d Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Tue, 25 Nov 2003 20:45:38 +0000 Subject: [PATCH] Fix for "Broken pipe" issue, vodz last_patch116_3 --- shell/ash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/ash.c b/shell/ash.c index 62d596974..fe99b02cb 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -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)) -- 2.25.1