]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: fix return value error of cpu-stats
authorGuannan Ren <gren@redhat.com>
Fri, 23 Aug 2013 10:17:25 +0000 (18:17 +0800)
committerGuannan Ren <gren@redhat.com>
Tue, 27 Aug 2013 07:17:03 +0000 (15:17 +0800)
commit9eb444364e5afca1e02448c48e0cb4ce36bf65db
tree094b0e712de58561f50e590caae8743e5d971d76
parenta88924bc21ef9b5f23f7802daded94fa1a357d0c
virsh: fix return value error of cpu-stats

virsh cpu-stats guest --start 0 --count 3
It outputs right but the return value is 1 rather than 0
echo $?
1

Found by running libvirt-autotest
./run -t libvirt --tests virsh_cpu_stats
tools/virsh-domain.c