1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-11-01 11:12:31 +00:00

Remove unnecessary echo

This commit is contained in:
randomshell 2020-07-02 10:36:05 +00:00
parent 36d209397e
commit aa583ce4b2

View File

@ -178,10 +178,8 @@ function newClient() {
source /etc/wireguard/params source /etc/wireguard/params
if [[ $SERVER_PUB_IP =~ .*:.* ]]; then if [[ $SERVER_PUB_IP =~ .*:.* ]]; then
echo "IPv6 Detected"
ENDPOINT="[$SERVER_PUB_IP]:$SERVER_PORT" ENDPOINT="[$SERVER_PUB_IP]:$SERVER_PORT"
else else
echo "IPv4 Detected"
ENDPOINT="$SERVER_PUB_IP:$SERVER_PORT" ENDPOINT="$SERVER_PUB_IP:$SERVER_PORT"
fi fi