1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-22 12:21:58 +00:00

Fix backwards logic in uninstaller once and for all

Really this time :P

Fixes #4533
This commit is contained in:
Marc Cornellà 2015-10-21 16:44:26 +02:00
parent 4e42e1f7e1
commit d06f4d0893

View file

@ -1,5 +1,5 @@
read -r -p "Are you sure you want to remove Oh My Zsh? [y/N] " confirmation
if [ $confirmation = y ] || [ $confirmation = Y ]
if [ "$confirmation" != y ] && [ "$confirmation" != Y ]
then
echo "Uninstall cancelled"
exit