aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-10 12:06:59 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-10 12:06:59 -0300
commit7ed7c785f4731b7b0d7d1b2474d658ae4fe731ea (patch)
tree03fa86b04a5eee20d1dd9eb96706d21488c07fb2
parente9e6aa5c83f538a493f16df1428f40600799e5ff (diff)
downloadkvmx-7ed7c785f4731b7b0d7d1b2474d658ae4fe731ea.tar.gz
kvmx-7ed7c785f4731b7b0d7d1b2474d658ae4fe731ea.tar.bz2
Exclude config action from some __kvmx_initialize procedures
-rwxr-xr-xkvmx2
1 files changed, 1 insertions, 1 deletions
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