Use proper space-expanded tabs, as per the coding guidelines.

This commit is contained in:
Andrew 2016-02-19 16:54:25 +01:00
parent d181cf5cff
commit 63f3392ff5

View File

@ -21,7 +21,7 @@
# #
if [ $# -lt 2 ] ; then if [ $# -lt 2 ] ; then
cat <<USAGE cat <<USAGE
Usage: $0 vmname command arguments Usage: $0 vmname command arguments
Executes a command in another VM using the qubes.VMShell RPC service. The Executes a command in another VM using the qubes.VMShell RPC service. The
arguments are joined with spaces and passed to "bash -c". arguments are joined with spaces and passed to "bash -c".
@ -33,11 +33,11 @@ is your terminal.
You can use \$dispvm or --dispvm instead of vmname to start a new DisposableVM. You can use \$dispvm or --dispvm instead of vmname to start a new DisposableVM.
USAGE USAGE
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" "$@"