Browse Source

tools/qvm-run: make -q affect 'command failed with code' message

Fixes QubesOS/qubes-issues#4616
Marek Marczykowski-Górecki 5 years ago
parent
commit
a65ef425e1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qubesadmin/tools/qvm_run.py

+ 1 - 1
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),