Use proper quoting around variables.
This commit is contained in:
parent
17d274ef48
commit
561f588d1d
@ -40,10 +40,10 @@ if [ $# -lt 2 ] ; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
VMNAME=$1
|
VMNAME="$1"
|
||||||
shift
|
shift
|
||||||
|
|
||||||
if [ $VMNAME = "--dispvm" ] ; then
|
if [ "$VMNAME" = "--dispvm" ] ; then
|
||||||
VMNAME='$dispvm'
|
VMNAME='$dispvm'
|
||||||
fi
|
fi
|
||||||
exec /usr/lib/qubes/qrexec-client-vm $VMNAME qubes.VMShell "/usr/lib/qubes/qrun-in-vm" "$@"
|
exec /usr/lib/qubes/qrexec-client-vm "$VMNAME" qubes.VMShell "/usr/lib/qubes/qrun-in-vm" "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user