From 377bd1341e641ec4ab56fcaa06a4e91abbbbc703 Mon Sep 17 00:00:00 2001 From: SATHISH P <141696697+sathish46-lab@users.noreply.github.com> Date: Tue, 9 Jul 2024 22:05:36 +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"