From 7fc67a4a28568b19c541ce96e3ff1d37baab89e4 Mon Sep 17 00:00:00 2001 From: SATHISH P <141696697+sathish46-lab@users.noreply.github.com> Date: Tue, 9 Jul 2024 22:07:39 +0530 Subject: [PATCH] Update uninstall.sh Exit with a non-zero status to indicate failure --- tools/uninstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/uninstall.sh b/tools/uninstall.sh index 6e3df7aca..5024095b5 100644 --- a/tools/uninstall.sh +++ b/tools/uninstall.sh @@ -13,7 +13,7 @@ fi read -r -p "Are you sure you want to remove Oh My Zsh? [y/N] " confirmation if [ "$confirmation" != y ] && [ "$confirmation" != Y ]; then echo "Uninstall cancelled" - exit + exit 1 # Exit with a non-zero status to indicate failure fi echo "Removing ~/.oh-my-zsh"