fix #6562. qvm-open-in-vm: wait EOF when handling URL

This commit is contained in:
Neowutran 2021-05-14 21:07:51 +02:00
parent 6b959262f8
commit 9e8815335d
No known key found for this signature in database
GPG Key ID: 0150AFFAFF83288F

View File

@ -48,7 +48,7 @@ fi
case "$filename" in
*://*)
exec /usr/lib/qubes/qrexec-client-vm "$target" qubes.OpenURL /bin/echo "$filename"
exec /usr/lib/qubes/qrexec-client-vm "$target" qubes.OpenURL /bin/sh -c 'printf "%s\n" "$0"; cat >/dev/null' "$filename"
;;
*)
exec /usr/lib/qubes/qrexec-client-vm "$target" qubes.OpenInVM "/usr/lib/qubes/qopen-in-vm" $qopen_opts "$filename"