Update gravity-sync.sh

This commit is contained in:
Michael Stanclift 2020-05-26 11:34:15 -05:00
parent 43c336f85f
commit 94d8c74757

View File

@ -145,7 +145,7 @@ function pull_gs {
MESSAGE="Validating Permissions on ${GRAVITY_FI}"
echo -en "${STAT} ${MESSAGE}"
if [ ! -w "${PIHOLE_DIR}/${GRAVITY_FI}" ]
if [ ! u-w "${PIHOLE_DIR}/${GRAVITY_FI}" ]
then
echo -e "\r${FAIL} $MESSAGE"