]> gitweb.fluxo.info Git - vbox.git/commitdiff
Fix clip action
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 11 Nov 2015 13:27:53 +0000 (11:27 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 11 Nov 2015 13:27:53 +0000 (11:27 -0200)
vbox

diff --git a/vbox b/vbox
index a38e444479e6e97882262d750a3ad0dbeaa2971a..da5bbedb3cb2466049d0079309c832c264087211 100755 (executable)
--- a/vbox
+++ b/vbox
@@ -59,13 +59,13 @@ if [ ! -z "$VM" ]; then
     done
   elif [ "$COMMAND" == "exec" ]; then
     vbox_exec $*
-  elif [ "$COMMAND" == "clip" ]; then
-    VBoxClient --clipboard
   else
     usage
   fi
 elif [ "$COMMAND" == "status" ]; then
   vbox_run runningvms list
+elif [ "$COMMAND" == "clip" ]; then
+  VBoxClient --clipboard
 else
   usage
 fi