Update gravity-sync.sh

This commit is contained in:
Michael Stanclift 2020-05-26 11:54:47 -05:00
parent 0ac26f1e8c
commit aeb392fffe

View File

@ -146,7 +146,7 @@ function pull_gs {
echo -en "${STAT} ${MESSAGE}"
GRAVDB_RWE=$(namei -m ${PIHOLE_DIR}/${GRAVITY_FI} | grep -v f: | grep ${GRAVITY_FI} | awk '{print $1}')
if [ $GRAVDB_RWE == "-rw-r--r--" ]
if [ $GRAVDB_RWE = "-rw-r--r--" ]
then
echo -e "\r${GOOD} ${MESSAGE}"
else