From d5b3d5f1e0a8506a3e8f61919338909f5025c2f1 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Thu, 12 Mar 2015 18:43:34 +0100 Subject: [PATCH] debug --- install-debian-server.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install-debian-server.sh b/install-debian-server.sh index 158306d..85d495c 100644 --- a/install-debian-server.sh +++ b/install-debian-server.sh @@ -11,9 +11,10 @@ echo -e "\033[35;1mThis script has been tested only on Linux Debian 7 \033[0m" echo "Please run this script as root" echo -n "Should we start? [Y:n]" -read st -st=${st:-y} -if [$st != 'y']; then +read yn +yn=${yn:-y} +if [ "$yn" != 'y']; then + echo "aborting script!" exit fi