Properly handle case of empty domain name.
This commit is contained in:
parent
561f588d1d
commit
bc73cf1fe3
@ -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" "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user