1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-05-31 18:50:47 +00:00

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

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