From: Glenn L McGrath Date: Tue, 25 Nov 2003 20:45:38 +0000 (-0000) Subject: Fix for "Broken pipe" issue, vodz last_patch116_3 X-Git-Tag: 1_00_pre4~22 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4ddddd180eaa7a1f4b2071c37425d99c3ef8040d;p=oweals%2Fbusybox.git Fix for "Broken pipe" issue, vodz last_patch116_3 --- 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))