1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-06-04 20:40:48 +00:00

swap single quotes for doubles since they won't expand(???)

This commit is contained in:
Chris Lewicki 2020-05-21 20:44:31 -04:00
parent c34f7fb35e
commit 39a4962ee0

2
wireguard-install.sh Normal file → Executable file
View File

@ -41,7 +41,7 @@ PrivateKey = $CLIENT_PRIV_KEY
Address = $CLIENT_WG_IPV4/24,$CLIENT_WG_IPV6/64"
# Fix for bug where trailing comma is left if no secondary DNS specified
if [ -z '$CLIENT_DNS_2' ]
if [ -z "$CLIENT_DNS_2" ]
then
echo "DNS = $CLIENT_DNS_1,$CLIENT_DNS_2"
else