]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: reduce the optimism in cmdIOThreadInfo
authorJán Tomko <jtomko@redhat.com>
Tue, 12 Feb 2019 09:35:17 +0000 (10:35 +0100)
committerJán Tomko <jtomko@redhat.com>
Wed, 13 Feb 2019 12:58:55 +0000 (13:58 +0100)
commit3ce86316a8aea8d906740ec4ccae884e887fab00
treea577e3644eee13b130c4ee5d2b9318086bac4391
parentbf688a0067748b197408ccf4b1eaa8e3f524c60e
virsh: reduce the optimism in cmdIOThreadInfo

Instead of using niothreads which defaults to zero, use the common
pattern with a ret varaible set to true just before the cleanup label.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
tools/virsh-domain.c