]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Use 'format' argument only when specified
authorPeter Krempa <pkrempa@redhat.com>
Fri, 16 Oct 2015 07:01:17 +0000 (09:01 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 16 Oct 2015 07:01:17 +0000 (09:01 +0200)
commit4ceaa7491e43b015bb2ea58c60aed889098e988d
tree1f6a0bb08ec43809559726e44a9ef95e02cf466e
parent9bf1cef7371b119cf1ad1e83daaa9cd0da893352
virsh: Use 'format' argument only when specified

The condition checking whether --format was specified was incorrect.
virsh crashed if the following format was used:

 virsh dump VM dump --format '' --memory-only

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1272301
tools/virsh-domain.c