mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 19:02:25 +00:00
virsh: change wexitstatus order to allow compilation on mac osx
This is the simple fix Daniel Veillard suggested last year: http://www.redhat.com/archives/libvir-list/2009-May/msg00459.html
This commit is contained in:
parent
63d1b07f83
commit
58ba49ac70
@ -8602,7 +8602,7 @@ editFile (vshControl *ctl, const char *filename)
|
||||
VIR_FREE(command);
|
||||
return -1;
|
||||
}
|
||||
if (command_ret != WEXITSTATUS (0)) {
|
||||
if (WEXITSTATUS(command_ret) != 0) {
|
||||
vshError(ctl,
|
||||
_("%s: command exited with non-zero status"), command);
|
||||
VIR_FREE(command);
|
||||
|
Loading…
x
Reference in New Issue
Block a user