mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-04 10:23:02 -05:00
qemu: Move setting of encobjAdded for qemuDomainAttachSCSIDisk
A post push realization that the boolean should be set inside the condition
This commit is contained in:
@@ -651,8 +651,8 @@ qemuDomainAttachSCSIDisk(virConnectPtr conn,
|
||||
encobjProps = NULL; /* qemuMonitorAddObject consumes */
|
||||
if (rv < 0)
|
||||
goto exit_monitor;
|
||||
encobjAdded = true;
|
||||
}
|
||||
encobjAdded = true;
|
||||
|
||||
if (qemuMonitorAddDrive(priv->mon, drivestr) < 0)
|
||||
goto exit_monitor;
|
||||
|
||||
Reference in New Issue
Block a user