diff --git a/gravity-sync.sh b/gravity-sync.sh index 0412a0d..b99aa39 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -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