diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-11-13 19:29:35 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-13 19:29:35 -0200 |
commit | 27b5413bd011b4e678976a989b37f2999f3a447c (patch) | |
tree | 6457ecc119a3a6a1feda145d5cf7efc9b046fb3c | |
parent | f59cfb4ba8751fc529e5dd814f42d90900a892bf (diff) | |
download | kvmx-27b5413bd011b4e678976a989b37f2999f3a447c.tar.gz kvmx-27b5413bd011b4e678976a989b37f2999f3a447c.tar.bz2 |
Create config folder before checking action
-rwxr-xr-x | kvmx | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |