aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wireguard-install.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/wireguard-install.sh b/wireguard-install.sh
index 9126172..2f0a3e6 100644
--- a/wireguard-install.sh
+++ b/wireguard-install.sh
@@ -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