From 93d2127eeec50ae88e6b4e3374a610232748bd73 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 2676faca..8283b3c3 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" ;;