Message ID | 848406a279a2c5593fef9272d6bc89fd68363b2a.1461609759.git.crobinso@redhat.com |
---|---|
State | Accepted |
Commit | c48db92fbd1776a46127c3e988a1650bfd5dcd53 |
Headers | show |
diff --git a/src/fdstream.c b/src/fdstream.c index b0a46e9..155311a 100644 --- a/src/fdstream.c +++ b/src/fdstream.c @@ -264,6 +264,10 @@ virFDStreamCloseCommand(struct virFDStreamData *fdst) if (status != 0) { if (buf[0] != '\0') { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", buf); + } else if (WIFSIGNALED(status) && WTERMSIG(status) == SIGPIPE) { + virReportError(VIR_ERR_INTERNAL_ERROR, "%s", + _("I/O helper exited " + "before all data was processed")); } else { char *str = virProcessTranslateStatus(status); virReportError(VIR_ERR_INTERNAL_ERROR,