From c2559cf914eae169795960d82ea61a16a0fc626b Mon Sep 17 00:00:00 2001 From: henne49 Date: Thu, 1 Aug 2024 09:14:42 +0200 Subject: [PATCH] break while loop --- uninstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uninstall.sh b/uninstall.sh index 3de2137..8f5683a 100644 --- a/uninstall.sh +++ b/uninstall.sh @@ -27,7 +27,7 @@ if [ -d $LOG_DIR ]; then read -p "Do you really wish to delete the log folder $LOG_DIR? [y/n]" yn case $yn in [Yy]* ) rm -rf $LOG_DIR; echo $LOG_DIR is deleted ; break;; - [Nn]* ) exit;; + [Nn]* ) break;; * ) echo "Please answer y or n.";; esac done