瀏覽代碼

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

Fixes QubesOS/qubes-issues#4616
Marek Marczykowski-Górecki 5 年之前
父節點
當前提交
a65ef425e1
共有 1 個文件被更改,包括 1 次插入1 次删除
  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),