dom0/qvm-run: do not break --all when run in one VM failed

This commit is contained in:
Marek Marczykowski 2012-08-01 01:01:37 +02:00
parent e6c8bf81fd
commit 847fe81dcd

View File

@ -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] [<vm-name>] [<cmd>]"