From c2fee34062ee733b333e48213d5da7104ec793cd Mon Sep 17 00:00:00 2001 From: Evgeniy Ivanov Date: Sun, 21 Aug 2016 13:01:53 +0300 Subject: [PATCH] fixes #65 --- algo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/algo b/algo index 2676fac..8283b3c 100755 --- a/algo +++ b/algo @@ -1,5 +1,6 @@ #!/usr/bin/env bash +set -e algo_provisioning () { echo -n " @@ -12,7 +13,7 @@ algo_provisioning () { Enter the number of your desired provider : " - read N + read -r N case "$N" in 1) CLOUD="digitalocean" ;;