diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 8e65eeb497a79c6e667f4f1260dd1469e0a4b708..b3f47d12ce39140a236bc4112dab30008b5c2ce5 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -13357,8 +13357,8 @@ qemuDomainSnapshotCreateXML(virDomainPtr domain, } if (redefine) { - if (!virDomainSnapshotRedefinePrep(domain, vm, &def, &snap, - &update_current, flags) < 0) + if (virDomainSnapshotRedefinePrep(domain, vm, &def, &snap, + &update_current, flags) < 0) goto cleanup; } else { /* Easiest way to clone inactive portion of vm->def is via