1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-04 00:17:06 +00:00

Need a default value or boom

This commit is contained in:
downtownallday 2020-06-10 11:41:26 -04:00
parent ab087365c4
commit 219c3fa020

View File

@ -67,7 +67,7 @@ done
# default value for control-enable is no, running "nsd-checkconf -o
# control-enable /etc/nsd/nsd.conf" returns "yes", so we explicitly
# set it here.
if [ -z "$PRIVATE_IPV6" -a "$TRAVIS" == "true" ]; then
if [ -z "$PRIVATE_IPV6" -a "${TRAVIS:-}" == "true" ]; then
cat >> /etc/nsd/nsd.conf <<EOF
do-ip4: yes
do-ip6: no