Fix for "Broken pipe" issue, vodz last_patch116_3

This commit is contained in:
Glenn L McGrath 2003-11-25 20:45:38 +00:00
parent c3498f678a
commit 4ddddd180e

View File

@ -6690,7 +6690,7 @@ sprint_status(char *s, int status, int sigonly)
#endif #endif
st = WTERMSIG(status); st = WTERMSIG(status);
if (sigonly) { if (sigonly) {
if (st == SIGINT) if (st == SIGINT || st == SIGPIPE)
goto out; goto out;
#if JOBS #if JOBS
if (WIFSTOPPED(status)) if (WIFSTOPPED(status))