From 9e8815335d0be4cf758519f68b38058f65963a13 Mon Sep 17 00:00:00 2001 From: Neowutran Date: Fri, 14 May 2021 21:07:51 +0200 Subject: [PATCH] fix #6562. qvm-open-in-vm: wait EOF when handling URL --- qubes-rpc/qvm-open-in-vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes-rpc/qvm-open-in-vm b/qubes-rpc/qvm-open-in-vm index ead9acf..3bb14e2 100755 --- a/qubes-rpc/qvm-open-in-vm +++ b/qubes-rpc/qvm-open-in-vm @@ -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"