Skip to content

Commit a93fc45

Browse files
authored
Merge pull request #293 from linuxserver/dns-fix
2 parents 76125cd + 3bcd753 commit a93fc45

File tree

1 file changed

+2
-1
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-wireguard-confs

1 file changed

+2
-1
lines changed

root/etc/s6-overlay/s6-rc.d/init-wireguard-confs/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ else
184184
echo "**** No client conf found. Provide your own client conf as \"/config/wg0.conf\" and restart the container. ****"
185185
sleep infinity
186186
fi
187-
printf %s "${USE_COREDNS,,:-false}" > /run/s6/container_environment/USE_COREDNS
187+
USE_COREDNS="${USE_COREDNS,,}"
188+
printf %s "${USE_COREDNS:-false}" > /run/s6/container_environment/USE_COREDNS
188189
fi
189190

190191
# set up CoreDNS

0 commit comments

Comments
 (0)