mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-05 10:47:26 -05:00
util: Correct the error prompt string
virCommandProcessIO: It's reading from stdout or stderr of child, but not writing.
This commit is contained in:
+3
-1
@@ -1504,7 +1504,9 @@ virCommandProcessIO(virCommandPtr cmd)
|
||||
if (errno != EINTR &&
|
||||
errno != EAGAIN) {
|
||||
virReportSystemError(errno, "%s",
|
||||
_("unable to write to child input"));
|
||||
(fds[i].fd == outfd) ?
|
||||
_("unable to read child stdout") :
|
||||
_("unable to read child stderr"));
|
||||
goto cleanup;
|
||||
}
|
||||
} else if (done == 0) {
|
||||
|
||||
Reference in New Issue
Block a user