aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx6
1 files changed, 3 insertions, 3 deletions
diff --git a/kvmx b/kvmx
index 10c4b68..d988bb8 100755
--- a/kvmx
+++ b/kvmx
@@ -88,6 +88,9 @@ function __kvmx_initialize {
# Alias to be used in config files
KVMX_BASE="$APP_BASE"
+ # Initialize
+ mkdir -p $GLOBAL_USER_CONFIG_FOLDER
+
# Stop processing here for some actions
if [ "$ACTION" == "init" ] || [ "$ACTION" == "list" ]; then
return
@@ -103,9 +106,6 @@ function __kvmx_initialize {
GUEST_DISPLAY="$(((RANDOM % 10) + 1))"
XDMCP_PORT="$(($RANDOM + 10000))"
- # Initalize
- mkdir -p $GLOBAL_USER_CONFIG_FOLDER
-
# Load user config
if [ -e "$GLOBAL_USER_CONFIG_FILE" ]; then
source $GLOBAL_USER_CONFIG_FILE