[libvirt PATCH] virsh: Fix return code for dump and migrate
Daniel P. Berrangé
berrange at redhat.com
Tue Apr 21 17:25:11 UTC 2020
On Tue, Apr 21, 2020 at 07:15:00PM +0200, Andrea Bolognani wrote:
> 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 at gameservers.com>
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
> tools/virsh-domain.c | 10 +++-------
> 1 file changed, 3 insertions(+), 7 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list