aboutsummaryrefslogtreecommitdiff
path: root/kvmx
diff options
context:
space:
mode:
Diffstat (limited to 'kvmx')
-rwxr-xr-xkvmx3
1 files changed, 3 insertions, 0 deletions
diff --git a/kvmx b/kvmx
index 28db8a4..2ea0a30 100755
--- a/kvmx
+++ b/kvmx
@@ -1070,6 +1070,9 @@ function kvmx_init {
else
FOLDER="$(pwd)/$VM"
fi
+ else
+ VM="$FOLDER"
+ FOLDER="$(pwd)/$VM"
fi
if [ -e "$GLOBAL_USER_CONFIG_FOLDER/$VM" ]; then