Verify existance of custom.list

This commit is contained in:
Michael Stanclift 2020-05-29 11:03:20 -05:00
parent e1adcd1105
commit 3e0d06617e

View File

@ -480,6 +480,8 @@ function md5_compare {
HASHMARK=$((HASHMARK+1))
fi
if [ -f ${PIHOLE_DIR}/${CUSTOM_DNS} ]
then
MESSAGE="Comparing ${CUSTOM_DNS} Changes"
echo_info
@ -503,6 +505,10 @@ function md5_compare {
echo_info
HASHMARK=$((HASHMARK+1))
fi
else
MESSAGE="No Local ${CUSTOM_DNS} Detected"
echo_info
fi
if [ "$HASHMARK" != "0" ]
then