From 4c345be02a646a618ec7bec7a376d0b6821a3e91 Mon Sep 17 00:00:00 2001 From: Petri Sirkkala Date: Fri, 6 Nov 2015 09:44:21 +0200 Subject: [PATCH] Fail fast in case we are run without terminal --- osx/uninstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osx/uninstall.sh b/osx/uninstall.sh index 5e29e1370f..c86b707de2 100755 --- a/osx/uninstall.sh +++ b/osx/uninstall.sh @@ -12,7 +12,7 @@ while true; do case $yn in [Yy]* ) docker-machine rm -f $(docker-machine ls -q); break;; [Nn]* ) break;; - * ) echo "Please answer yes or no.";; + * ) echo "Please answer yes or no."; exit 1;; esac done