]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Fix return code for dump and migrate
authorAndrea Bolognani <abologna@redhat.com>
Tue, 21 Apr 2020 17:06:16 +0000 (19:06 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 22 Apr 2020 07:30:56 +0000 (09:30 +0200)
commitfbc4e81a36d1ce1b15c70cf37f226c0e6d4e6bfd
tree3acdc5fae6c48eb03f24353cd51372225d35f570
parent9ced95a49c7491d9e16650f68146f85e5878d499
virsh: Fix return code for dump and migrate

When the job monitoring logic was refactored, these two commands
were not converted properly and the result is that a successful
dump or migration (char '0') would be reported as a failed one
(int 48) instead.

Fixes: dc0771cfa2e78ffecd7c8234538ee548748d7bef
Reported-by: Brian Rak <brak@gameservers.com>
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
tools/virsh-domain.c