diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-08-20 22:52:38 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-08-20 22:52:38 -0300 |
commit | 7863cc3a43fba633bc9baa29a45a1b46e578303f (patch) | |
tree | 40e6c31bf72a55f442a295f9350e04eb29d4d162 | |
parent | c7880e6581dd80346dcbe9fdb40965360b8fcba8 (diff) | |
download | vbox-7863cc3a43fba633bc9baa29a45a1b46e578303f.tar.gz vbox-7863cc3a43fba633bc9baa29a45a1b46e578303f.tar.bz2 |
Minor fix
-rwxr-xr-x | vbox | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,6 +7,7 @@ BASENAME="`basename $0`" COMMAND="$1" VM="$2" +shift 2 # Usage function usage { @@ -53,8 +54,7 @@ if [ ! -z "$VM" ]; then vbox_exec /sbin/halt VBoxManage modifyhd --compact /var/cache/virtualbox/$box/$box.vdi elif [ "$COMMAND" == "exec" ]; then - shift 2 - vbox_run $* + vbox_exec $* else usage fi |