mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
Fix cleanup when state driver init fails
* daemon/libvirtd.c: Fix incorrect goto label causing cleanup to be missed when state driver init fails
This commit is contained in:
1 parent
da82b03fb0
commit
4be6e024c7
1 file changed
+1
-1
+1
-1
@@ -3153,7 +3153,7 @@ int main(int argc, char **argv) {
|
||||
* seriously delay OS bootup process */
|
||||
if (virStateInitialize(server->privileged) < 0) {
|
||||
VIR_ERROR0("Driver state initialization failed");
|
||||
goto error;
|
||||
goto shutdown;
|
||||
}
|
||||
|
||||
/* Start accepting new clients from network */
|
||||
|
||||
Reference in new issue
Block a user