aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-13 19:08:45 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-13 19:08:45 -0300
commitfa127ddcfdd083ef4f588186a1208795eba6c110 (patch)
tree99fc24346f4e60346511fb8d0d9928a884209e8d
parentfd1f9ab6096aa237e9a928580218861bb0e75c2f (diff)
downloadkvmx-fa127ddcfdd083ef4f588186a1208795eba6c110.tar.gz
kvmx-fa127ddcfdd083ef4f588186a1208795eba6c110.tar.bz2
Taking create action into account at __kvmx_initialize
-rwxr-xr-xkvmx2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmx b/kvmx
index f861fdc..6856020 100755
--- a/kvmx
+++ b/kvmx
@@ -202,7 +202,7 @@ function __kvmx_initialize {
if [ ! -e "$image" ] && [ "$ACTION" != "up" ] && [ "$ACTION" != "provision" ] && [ "$ACTION" != "purge" ] \
&& [ "$ACTION" != "destroy" ] && [ "$ACTION" != "install" ] && [ "$ACTION" != "config" ] \
- && [ "$ACTION" != "config_unset" ]; then
+ && [ "$ACTION" != "config_unset" ] && [ "$ACTION" != "create" ]; then
echo "$BASENAME: file not found: $image"
exit 1
fi