Skip to content

Commit

Permalink
q-dev: print warning for flags --port and --device
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Oct 14, 2024
1 parent c7a17e4 commit e3b1cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubesadmin/tools/qvm_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def assign_device(args):
vm.devices[args.devclass].assign(assignment)
# retrieve current port info
assignment = DeviceAssignment(args.device, mode=mode, options=options)
if is_on_deny_list(device, vm) and not args.quiet:
if is_on_deny_list(args.device, vm) and not args.quiet:
print("Attention: The assigned device is on the denied list: "
f"{DEVICE_DENY_LIST}\n Auto-attach will work, "
f"but make sure that the assignment is correct.")
Expand Down

0 comments on commit e3b1cf8

Please sign in to comment.