diff options
author | 2009-11-13 10:34:47 +0000 | |
---|---|---|
committer | 2009-11-13 15:10:54 +0000 | |
commit | 4be6e024c7188f60bdd5bdd1a9c32193abb6aeb6 (patch) | |
tree | 0cd373188f13f30c0dd4ba815e7e0b1c5f6d8e24 | |
parent | Small guestfwd code cleanup (diff) | |
download | libvirt-4be6e024c7188f60bdd5bdd1a9c32193abb6aeb6.tar.gz libvirt-4be6e024c7188f60bdd5bdd1a9c32193abb6aeb6.tar.bz2 libvirt-4be6e024c7188f60bdd5bdd1a9c32193abb6aeb6.zip |
Fix cleanup when state driver init fails
* daemon/libvirtd.c: Fix incorrect goto label causing cleanup to
be missed when state driver init fails
-rw-r--r-- | daemon/libvirtd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c index ef07460fd..1caa4ceea 100644 --- a/daemon/libvirtd.c +++ b/daemon/libvirtd.c @@ -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 */ |