[Pkg-libvirt-commits] [libguestfs] 13/31: p2v: Set status to "Conversion cancelled by user" when user cancels (RHBZ#1226794).

Hilko Bengen bengen at moszumanska.debian.org
Sun Nov 1 17:13:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag upstream/1.29.46
in repository libguestfs.

commit 3e9a0fac148f7ce48db2bac2ba6f99e81fd603c7
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Jun 2 13:51:47 2015 +0100

    p2v: Set status to "Conversion cancelled by user" when user cancels (RHBZ#1226794).
    
    Thanks: Tingting Zheng.
---
 p2v/conversion.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/p2v/conversion.c b/p2v/conversion.c
index 9a96d95..c795864 100644
--- a/p2v/conversion.c
+++ b/p2v/conversion.c
@@ -305,6 +305,8 @@ start_conversion (struct config *config,
 
   if (stop) {
     set_conversion_error ("cancelled by user");
+    if (notify_ui)
+      notify_ui (NOTIFY_STATUS, _("Conversion cancelled by user."));
     goto out;
   }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list