remove default char "n" from uninstall step

This commit is contained in:
Hasan-aga 2022-10-15 22:21:20 +03:00
parent 514901fd0b
commit 3be16a62aa
1 changed files with 2 additions and 1 deletions

View File

@ -362,7 +362,8 @@ function revokeClient() {
function uninstallWg() {
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
checkOS