From 219c3fa020aca3691953e29ca856088285152d00 Mon Sep 17 00:00:00 2001 From: downtownallday Date: Wed, 10 Jun 2020 11:41:26 -0400 Subject: [PATCH] Need a default value or boom --- setup/dns.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/dns.sh b/setup/dns.sh index cfc3879c..eaac56bd 100755 --- a/setup/dns.sh +++ b/setup/dns.sh @@ -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 <