diff --git a/gravity-sync.sh b/gravity-sync.sh index e004aa7..1217605 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -133,7 +133,7 @@ function pull_gs { MESSAGE="Validating Ownership on ${GRAVITY_FI}" echo -en "${STAT} ${MESSAGE}" - GRAVDB_OWN=$(ls -ld ${PIHOLE_DIR}/${GRAVITY_FI} | awk '{print $3}') + GRAVDB_OWN=$(ls -ld ${PIHOLE_DIR}/${GRAVITY_FI} | awk '\{print $3\}') if $GRAVDB_OWN = 'pihole' then echo -e "\r${GOOD} ${MESSAGE}"