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:
Daniel P. Berrange committed 2009-11-13 15:10:54 +00:00
1 parent da82b03fb0
commit 4be6e024c7
1 file changed
+1 -1
+1 -1
View File
@@ -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 */