Fix build

This commit is contained in:
Teoh Han Hui committed 2017-07-31 17:46:58 +08:00
1 parent dfe7677eb5
commit 065dd7f1ea
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -22,6 +22,7 @@ fi
export RESOLVERS=$(awk '$1 == "nameserver" {print $2}' ORS=' ' /etc/resolv.conf | sed 's/ *$//g')
if [ "x$RESOLVERS" = "x" ]; then
echo "Warning: unable to determine DNS resolvers for nginx" >&2
unset RESOLVERS
fi
# If the user has run the default command and the socket doesn't exist, fail