From bc121e1b05d653e20bca752a652a6f4b4785257b Mon Sep 17 00:00:00 2001 From: ryangreenup Date: Sun, 12 Jul 2020 20:19:34 +1000 Subject: [PATCH] Exit on no proceed --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 049da4b..2281500 100755 --- a/install.sh +++ b/install.sh @@ -21,7 +21,7 @@ printThis () { echo "Are you happy to proceed? Press y to continue" read -d '' -s -n1 proceedQ if [ "$proceedQ" != "y" ]; then - return + exit 0 fi }