mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-05 03:43:30 +03:00
swap single quotes for doubles since they won't expand(???)
This commit is contained in:
parent
c34f7fb35e
commit
39a4962ee0
1 changed files with 1 additions and 1 deletions
2
wireguard-install.sh
Normal file → Executable file
2
wireguard-install.sh
Normal file → Executable 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
|
||||
|
|
Loading…
Add table
Reference in a new issue