From 847fe81dcdb8bc1014b160430a42e48384883ea9 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Wed, 1 Aug 2012 01:01:37 +0200 Subject: [PATCH] dom0/qvm-run: do not break --all when run in one VM failed --- dom0/qvm-tools/qvm-run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dom0/qvm-tools/qvm-run b/dom0/qvm-tools/qvm-run index 8292e0cd..6ed9f747 100755 --- a/dom0/qvm-tools/qvm-run +++ b/dom0/qvm-tools/qvm-run @@ -91,8 +91,8 @@ def vm_run_cmd(vm, cmd, options): if options.tray: tray_notify_error(str(err)) notify_error_qubes_manager(vm.name, str(err)) - print >> sys.stderr, "ERROR: %s" % str(err) - exit(1) + print >> sys.stderr, "ERROR(%s): %s" % (str(vm.name), str(err)) + return 1 def main(): usage = "usage: %prog [options] [] []"