mirror of https://gitee.com/openkylin/libvirt.git
virsh: Use vshPrint instead of printf
This commit is contained in:
parent
84d9142495
commit
8b9eb14a6d
|
@ -7670,7 +7670,7 @@ cmdQemuAgentCommand(vshControl *ctl, const vshCmd *cmd)
|
|||
}
|
||||
result = virDomainQemuAgentCommand(dom, guest_agent_cmd, timeout, flags);
|
||||
|
||||
if (result) printf("%s\n", result);
|
||||
vshPrint(ctl, "%s\n", result);
|
||||
|
||||
ret = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue