Update uninstall.sh

Exit with a non-zero status to indicate failure
This commit is contained in:
SATHISH P 2024-07-09 22:05:36 +05:30 committed by GitHub
commit 377bd1341e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"