summaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorGlenn L McGrath2003-11-25 20:45:38 +0000
committerGlenn L McGrath2003-11-25 20:45:38 +0000
commit4ddddd180eaa7a1f4b2071c37425d99c3ef8040d (patch)
treec4ccaa4b923b57f508e5b156ee0cf5781e18504c /shell/ash.c
parentc3498f678aaae3dc30b1976af498f9e1b0309b5b (diff)
downloadbusybox-4ddddd180eaa7a1f4b2071c37425d99c3ef8040d.zip
busybox-4ddddd180eaa7a1f4b2071c37425d99c3ef8040d.tar.gz
Fix for "Broken pipe" issue, vodz last_patch116_3
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 62d5969..fe99b02 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))