aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-03-16 18:54:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-03-16 18:54:18 -0300
commit50befeec4ac5b37c84c7287df8385c93d48f598f (patch)
treeaa1aa32b94b711ce09ba22089a85e115b93aedb4
parentc1a056abb797d7dc5c2c133842cf206ccfde026f (diff)
downloadkvmx-50befeec4ac5b37c84c7287df8385c93d48f598f.tar.gz
kvmx-50befeec4ac5b37c84c7287df8385c93d48f598f.tar.bz2
Fixes kvmx_ls
-rwxr-xr-xkvmx2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmx b/kvmx
index f9a30ec..5379821 100755
--- a/kvmx
+++ b/kvmx
@@ -86,7 +86,7 @@ function __kvmx_initialize {
fi
# Load and check guest config
- if [ "$ACTION" != "init" ] && [ "$ACTION" != "list" ] && [ "$ACTION" != "edit" ] && [ "$ACTION" != "usage" ]; then
+ if [ "$ACTION" != "init" ] && [ "$ACTION" != "list" ] && [ "$ACTION" != "ls" ] && [ "$ACTION" != "edit" ] && [ "$ACTION" != "usage" ]; then
if [ ! -e "$GLOBAL_USER_CONFIG_FOLDER/$VM" ]; then
echo "$BASENAME: config not found: $GLOBAL_USER_CONFIG_FOLDER/$VM"
exit 1