mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
Update uninstall.sh
Exit with a non-zero status to indicate failure
This commit is contained in:
parent
5b37e218e5
commit
7fc67a4a28
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue