diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-11-25 20:45:38 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-11-25 20:45:38 +0000 |
commit | 4ddddd180eaa7a1f4b2071c37425d99c3ef8040d (patch) | |
tree | c4ccaa4b923b57f508e5b156ee0cf5781e18504c | |
parent | c3498f678aaae3dc30b1976af498f9e1b0309b5b (diff) | |
download | busybox-w32-4ddddd180eaa7a1f4b2071c37425d99c3ef8040d.tar.gz busybox-w32-4ddddd180eaa7a1f4b2071c37425d99c3ef8040d.tar.bz2 busybox-w32-4ddddd180eaa7a1f4b2071c37425d99c3ef8040d.zip |
Fix for "Broken pipe" issue, vodz last_patch116_3
-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) | |||
6690 | #endif | 6690 | #endif |
6691 | st = WTERMSIG(status); | 6691 | st = WTERMSIG(status); |
6692 | if (sigonly) { | 6692 | if (sigonly) { |
6693 | if (st == SIGINT) | 6693 | if (st == SIGINT || st == SIGPIPE) |
6694 | goto out; | 6694 | goto out; |
6695 | #if JOBS | 6695 | #if JOBS |
6696 | if (WIFSTOPPED(status)) | 6696 | if (WIFSTOPPED(status)) |