Skip to content

Commit 89925b0

Browse files
committed
q-dev: sanitize confirmation output
1 parent 1267f3f commit 89925b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

qubes/ext/utils.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ async def confirm_device_attachment(device, frontends) -> str:
148148
# vm names are safe to just join by spaces
149149
proc = await asyncio.create_subprocess_shell(
150150
" ".join(["attach-confirm", device.backend_domain.name,
151-
device.port_id, "'" + device.description + "'", *front_names]),
151+
device.port_id, "'" + device.description + "'",
152+
*front_names]),
152153
stdout=asyncio.subprocess.PIPE
153154
)
154155
(target_name, _) = await proc.communicate()

0 commit comments

Comments
 (0)