From 078a050efe00df5305c79df1f1085e8d36164f8b Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Tue, 26 May 2020 11:44:02 -0500 Subject: [PATCH] Missing operator --- gravity-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 6e299b4..8e69624 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 ${GRAVITY_FI} | awk '{print $1}' ) - if [ $GRAVDB_RWE "-rw-r--r--" ] + if [ $GRAVDB_RWE == "-rw-r--r--" ] then echo -e "\r${GOOD} ${MESSAGE}" else