Remove second check condition for resolvers.conf (#87)

This commit is contained in:
Alex Thomae
2021-04-20 21:29:28 +02:00
committed by GitHub
parent ce3c77b62a
commit 2f55921a0d

View File

@@ -20,7 +20,7 @@ done
echo "Final chosen resolver: $conf"
confpath=/etc/nginx/resolvers.conf
if [ ! -e $confpath ] || [ "$conf" != "$(cat $confpath)" ]
if [ ! -e $confpath ]
then
echo "Using auto-determined resolver '$conf' via '$confpath'"
echo "$conf" > $confpath