mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-22 04:35:09 +00:00
remove default char "n" from uninstall step (#370)
This commit is contained in:
parent
514901fd0b
commit
f895b55058
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user