]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Exclude config action from some __kvmx_initialize procedures
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 10 Jun 2018 15:06:59 +0000 (12:06 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 10 Jun 2018 15:06:59 +0000 (12:06 -0300)
kvmx

diff --git a/kvmx b/kvmx
index 6fea6373b7557570d2df13d6202a194dec78ab40..722d17f1e3e4d5a35a75751d173d91a6438f6029 100755 (executable)
--- a/kvmx
+++ b/kvmx
@@ -119,7 +119,7 @@ function __kvmx_initialize {
   fi
 
   # Load and check guest config
-  if [ "$ACTION" != "ls" ] && [ "$ACTION" != "edit" ] && [ "$ACTION" != "usage" ]; then
+  if [ "$ACTION" != "ls" ] && [ "$ACTION" != "edit" ] && [ "$ACTION" != "usage" ] && [ "$ACTION" != "config" ]; then
     if [ ! -e "$GLOBAL_USER_CONFIG_FOLDER/$VM" ]; then
       if [ -e "kvmxfile" ]; then
         # Existing kvmxfile but not registered at the global user config