提交 9f9ce613 编写于 作者: G Guido Günther

don't crash when called without arguments

上级 1d6c713b
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>
* src/qemu_driver.c: fix handling of <hostdev managed='yes'>
......
......@@ -745,7 +745,8 @@ int main(int argc, char *argv[])
cleanup:
virFileDeletePid(LXC_STATE_DIR, def->name);
if (def)
virFileDeletePid(LXC_STATE_DIR, def->name);
lxcControllerCleanupInterfaces(nveths, veths);
unlink(sockpath);
VIR_FREE(sockpath);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册