diff options
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |