aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx4
1 files changed, 3 insertions, 1 deletions
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