mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
storage: Fix editing mistake in storagePoolSetAutostart
Commit id '905f1024b' had a rogue editing mistake that inadvertently dropped a goto cleanup in storagePoolSetAutostart, but Coverity noted it.
This commit is contained in:
parent
313274a756
commit
f36f2e463f
@ -1280,6 +1280,7 @@ storagePoolSetAutostart(virStoragePoolPtr pool,
|
||||
if (!obj->configFile) {
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
"%s", _("pool has no config file"));
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
autostart = (autostart != 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user