From ad5696c2465de6f2b6eae7c4aea19b7c03651fa8 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Tue, 26 May 2020 10:51:26 -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 8a4a9be..32edcf6 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -134,7 +134,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 $4}') - if $GRAVDB_OWN = 'piholepihole' + if [ $GRAVDB_OWN == "piholepihole" ] then echo -e "\r${GOOD} ${MESSAGE}" else