]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Fixes kvmx_ls
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 16 Mar 2017 21:54:18 +0000 (18:54 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 16 Mar 2017 21:54:18 +0000 (18:54 -0300)
kvmx

diff --git a/kvmx b/kvmx
index f9a30ecefde386d564d4b60410c38af71b01a86a..53798210309d26020ee399abfb8b6d4a1d1c2732 100755 (executable)
--- a/kvmx
+++ b/kvmx
@@ -86,7 +86,7 @@ function __kvmx_initialize {
   fi
 
   # Load and check guest config
-  if [ "$ACTION" != "init" ] && [ "$ACTION" != "list" ] && [ "$ACTION" != "edit" ] && [ "$ACTION" != "usage" ]; then
+  if [ "$ACTION" != "init" ] && [ "$ACTION" != "list" ] && [ "$ACTION" != "ls" ] && [ "$ACTION" != "edit" ] && [ "$ACTION" != "usage" ]; then
     if [ ! -e "$GLOBAL_USER_CONFIG_FOLDER/$VM" ]; then
       echo "$BASENAME: config not found: $GLOBAL_USER_CONFIG_FOLDER/$VM"
       exit 1