From d8fc2c088fcd3163952aa8fb4d29753e6994aa64 Mon Sep 17 00:00:00 2001 From: urpylka Date: Tue, 24 Apr 2018 13:36:26 +0300 Subject: [PATCH] image_builder: fix bag with switch-case order in bash Signed-off-by: Artem Smirnov --- image_builder/image_config.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/image_builder/image_config.sh b/image_builder/image_config.sh index ac30c9bc..6f7367ca 100755 --- a/image_builder/image_config.sh +++ b/image_builder/image_config.sh @@ -386,9 +386,6 @@ echo "\$7: $7" # install_docker case "$1" in - *) - echo "Enter one of: mount_system, get_image, resize_fs, publish_image, execute";; - mount_system) # mount_system $IMAGE $MOUNT_POINT mount_system $2 $3;; @@ -412,4 +409,7 @@ case "$1" in execute) # execute $IMAGE $MOUNT_POINT $EXECUTE_FILE ... execute $2 $3 $4 ${@:5};; + + *) + echo "Enter one of: mount_system, get_image, resize_fs, publish_image, execute";; esac