mirror of https://gitee.com/openkylin/libvirt.git
domaincapstest: Return EXIT_SUCCESS / EXIT_FAILURE instead of -1
The value is used as return value for the process itself. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
ee4a392dda
commit
7a694da7be
|
@ -475,7 +475,7 @@ mymain(void)
|
|||
DO_TEST_BHYVE("fbuf", "/usr/sbin/bhyve", &bhyve_caps, VIR_DOMAIN_VIRT_BHYVE);
|
||||
#endif /* WITH_BHYVE */
|
||||
|
||||
return ret;
|
||||
return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||
}
|
||||
|
||||
#if WITH_QEMU
|
||||
|
|
Loading…
Reference in New Issue