Update gravity-sync.sh

This commit is contained in:
Michael Stanclift 2020-05-26 10:38:15 -05:00
parent 217efbfb8b
commit b0b978ff5d

View File

@ -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}"