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

Fixes QubesOS/qubes-issues#4616
This commit is contained in:
Marek Marczykowski-Górecki 2018-12-16 05:51:41 +01:00
parent 351502635f
commit a65ef425e1
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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),