Skip to content

Commit e3b1cf8

Browse files
committed
q-dev: print warning for flags --port and --device
1 parent c7a17e4 commit e3b1cf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qubesadmin/tools/qvm_device.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def assign_device(args):
236236
vm.devices[args.devclass].assign(assignment)
237237
# retrieve current port info
238238
assignment = DeviceAssignment(args.device, mode=mode, options=options)
239-
if is_on_deny_list(device, vm) and not args.quiet:
239+
if is_on_deny_list(args.device, vm) and not args.quiet:
240240
print("Attention: The assigned device is on the denied list: "
241241
f"{DEVICE_DENY_LIST}\n Auto-attach will work, "
242242
f"but make sure that the assignment is correct.")

0 commit comments

Comments
 (0)