mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +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 &&
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user