From: Silvio Rhatto Date: Tue, 14 Mar 2017 00:08:41 +0000 (-0300) Subject: List action: check for config folder X-Git-Tag: 0.1.0~546 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=bf9e7b0c09f2ab23e8f86b37943e17b4ba4ed28d;p=kvmx.git List action: check for config folder --- diff --git a/kvmx b/kvmx index 0bf3889..d34cbb2 100755 --- a/kvmx +++ b/kvmx @@ -309,7 +309,9 @@ function kvmx_rsync { # List guests function kvmx_list { - ls $GLOBAL_USER_CONFIG_FOLDER + if [ -e "$GLOBAL_USER_CONFIG_FOLDER" ]; then + ls $GLOBAL_USER_CONFIG_FOLDER + fi } # Alias to list command