remove default char "n" from uninstall step (#370)

This commit is contained in:
Hasan Aga 2022-10-16 22:59:16 +03:00 committed by GitHub
parent 514901fd0b
commit f895b55058
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -362,7 +362,8 @@ function revokeClient() {
function uninstallWg() { function uninstallWg() {
echo "" echo ""
read -rp "Do you really want to remove WireGuard? [y/n]: " -e -i n REMOVE read -rp "Do you really want to remove WireGuard? [y/n]: " -e REMOVE
REMOVE=${REMOVE:-n}
if [[ $REMOVE == 'y' ]]; then if [[ $REMOVE == 'y' ]]; then
checkOS checkOS