mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03: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:
parent
da82b03fb0
commit
4be6e024c7
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user