mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-29 17:33:09 +00:00
don't crash when called without arguments
This commit is contained in:
parent
1d6c713b18
commit
9f9ce6130d
@ -1,3 +1,8 @@
|
|||||||
|
Thu May 7 09:16:05 CEST 2009 Guido Günther <agx@sigxcpu.org>
|
||||||
|
|
||||||
|
* src/lxc_controller.c (main): don't crash when called without
|
||||||
|
arguments
|
||||||
|
|
||||||
Wed May 6 16:55:02 GMT 2009 Mark McLoughlin <markmc@redhat.com>
|
Wed May 6 16:55:02 GMT 2009 Mark McLoughlin <markmc@redhat.com>
|
||||||
|
|
||||||
* src/qemu_driver.c: fix handling of <hostdev managed='yes'>
|
* src/qemu_driver.c: fix handling of <hostdev managed='yes'>
|
||||||
|
@ -745,6 +745,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
|
if (def)
|
||||||
virFileDeletePid(LXC_STATE_DIR, def->name);
|
virFileDeletePid(LXC_STATE_DIR, def->name);
|
||||||
lxcControllerCleanupInterfaces(nveths, veths);
|
lxcControllerCleanupInterfaces(nveths, veths);
|
||||||
unlink(sockpath);
|
unlink(sockpath);
|
||||||
|
Loading…
Reference in New Issue
Block a user