mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-25 22:15:20 +00: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:
parent
20d5e9db82
commit
73b9246df9
@ -1504,7 +1504,9 @@ virCommandProcessIO(virCommandPtr cmd)
|
|||||||
if (errno != EINTR &&
|
if (errno != EINTR &&
|
||||||
errno != EAGAIN) {
|
errno != EAGAIN) {
|
||||||
virReportSystemError(errno, "%s",
|
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;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
} else if (done == 0) {
|
} else if (done == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user