From f54f1878706a8fff67e444ee64d837a9fcdef95c Mon Sep 17 00:00:00 2001 From: Peter Schiffer Date: Wed, 30 Sep 2020 22:42:59 +0200 Subject: [PATCH] Fix unbound variable error in pdns/docker-entrypoint.sh --- pdns/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/docker-entrypoint.sh b/pdns/docker-entrypoint.sh index e428059..45a3848 100755 --- a/pdns/docker-entrypoint.sh +++ b/pdns/docker-entrypoint.sh @@ -29,7 +29,7 @@ if [ "${PDNS_gmysql_password}" != "" ]; then fi # Allow socket connections -if [ "${PDNS_gmysql_socket}" != "" ]; then +if [ "${PDNS_gmysql_socket:-}" != "" ]; then export PDNS_gmysql_host="localhost" EXTRA="${EXTRA} --socket=${PDNS_gmysql_socket}" fi