From a65ef425e1115f954d3ba6dd9de90772c292a0ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 16 Dec 2018 05:51:41 +0100 Subject: [PATCH] tools/qvm-run: make -q affect 'command failed with code' message Fixes QubesOS/qubes-issues#4616 --- qubesadmin/tools/qvm_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesadmin/tools/qvm_run.py b/qubesadmin/tools/qvm_run.py index 95d6da8..a2c3eef 100644 --- a/qubesadmin/tools/qvm_run.py +++ b/qubesadmin/tools/qvm_run.py @@ -272,7 +272,7 @@ def main(args=None, app=None): try: for vm, proc in procs: this_retcode = proc.wait() - if this_retcode and args.verbose > 0: + if this_retcode and verbose > 0: print_no_color( '{}: command failed with code: {}'.format( vm.name, this_retcode),