Merge remote-tracking branch 'origin/pr/304'

* origin/pr/304:
  fix #6562. qvm-open-in-vm: wait EOF when handling URL
This commit is contained in:
Marek Marczykowski-Górecki 2021-05-24 03:52:31 +02:00
commit 98543f541a
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -48,7 +48,7 @@ fi
case "$filename" in 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" exec /usr/lib/qubes/qrexec-client-vm "$target" qubes.OpenInVM "/usr/lib/qubes/qopen-in-vm" $qopen_opts "$filename"