Skip to content

Commit

Permalink
fix: Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
its0x08 committed May 19, 2023
1 parent 199255e commit 2a9394f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wg-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ fi

if [ "$WG_CONFIG" == "" ]; then
WG_CONFIG="/etc/wireguard/wg0.conf"
WG_CONFIG_NAME=${$WG_CONFIG:15:-5}
fi


if [ ! -f "$WG_CONFIG" ]; then
WG_CONFIG_NAME=${WG_CONFIG:15:-5}
# Install server and add default client
INTERACTIVE=${INTERACTIVE:-yes}
PRIVATE_SUBNET=${PRIVATE_SUBNET:-"10.9.0.0/24"}
Expand Down

0 comments on commit 2a9394f

Please sign in to comment.