From: Silvio Rhatto Date: Sun, 10 Jun 2018 15:06:59 +0000 (-0300) Subject: Exclude config action from some __kvmx_initialize procedures X-Git-Tag: 0.1.0~261 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7ed7c785f4731b7b0d7d1b2474d658ae4fe731ea;p=kvmx.git Exclude config action from some __kvmx_initialize procedures --- diff --git a/kvmx b/kvmx index 6fea637..722d17f 100755 --- 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