]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
libvirt_lxc: Claim success for --help
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 27 Aug 2015 00:21:54 +0000 (02:21 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 27 Aug 2015 13:05:51 +0000 (15:05 +0200)
commitfb0ef0d5110dd737bde2b79e17c12b71a69f5d06
tree5e77ab9bfd2d7ca65a8ae57e17dde0c3724b8d68
parentea0486873ef586ba3a4a8d302123d829b1bcf36b
libvirt_lxc: Claim success for --help

So far, if libvirt_lxc binary (usually to be found under
/usr/libexec/) is run with --help, due to a missing line
and our usual functions pattern, an 'uknown' error is returned.
Yeah, the help is printed out, but we should not claim error.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/lxc/lxc_controller.c