mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-30 18:50:18 +03:00
qemuAgentCheckError: Rewort error if neither return nor error is found
Disambiguate the case from other types of error. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
b38d66e81e
commit
8ab9c74df9
@ -1013,7 +1013,7 @@ qemuAgentCheckError(virJSONValue *cmd,
|
||||
VIR_DEBUG("Neither 'return' nor 'error' is set in the JSON reply %s: %s",
|
||||
NULLSTR(cmdstr), NULLSTR(replystr));
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
_("unable to execute QEMU agent command '%1$s'"),
|
||||
_("QEMU agent command '%1$s' returned neither error nor success"),
|
||||
qemuAgentCommandName(cmd));
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user