mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix wrong condition when asking first
The second test was wrong, it exits if the user asks with a capital Y. Fix by exiting only if the answer from the user is different from a lowercase y AND a capital Y
This commit is contained in:
@@ -87,7 +87,7 @@ fi
|
||||
# Ask first
|
||||
printf "Setup Webmin official repository? (y/N) "
|
||||
read -r sslyn
|
||||
if [ "$sslyn" != "y" ] || [ "$sslyn" = "Y" ]; then
|
||||
if [ "$sslyn" != "y" ] && [ "$sslyn" != "Y" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user