Properly handle case of empty domain name.

(cherry picked from commit bc73cf1fe3)
This commit is contained in:
Andrew 2016-02-19 18:19:59 +01:00 committed by Marek Marczykowski-Górecki
parent 4eff6a42e9
commit d6e6c394b7
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -45,5 +45,8 @@ shift
if [ "$VMNAME" = "--dispvm" ] ; then
VMNAME='$dispvm'
elif [ "$VMNAME" = "" ] ; then
print_usage
exit 1
fi
exec /usr/lib/qubes/qrexec-client-vm "$VMNAME" qubes.VMShell "/usr/lib/qubes/qrun-in-vm" "$@"