From b0b978ff5d3a6150ee408f08320169e088041c91 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Tue, 26 May 2020 10:38:15 -0500 Subject: [PATCH] Update gravity-sync.sh --- gravity-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"