mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: Fix previous commit, use comparision in if()
This commit is contained in:
parent
560758c900
commit
d536f6b177
@ -6489,7 +6489,7 @@ static int qemudDomainStart(virDomainPtr dom) {
|
|||||||
* We should still have a reference left to vm but
|
* We should still have a reference left to vm but
|
||||||
* one should check for 0 anyway
|
* one should check for 0 anyway
|
||||||
*/
|
*/
|
||||||
if (qemuDomainObjEndJob(vm) = 0) {
|
if (qemuDomainObjEndJob(vm) == 0) {
|
||||||
vm = NULL;
|
vm = NULL;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user