Missing operator

This commit is contained in:
Michael Stanclift 2020-05-26 11:44:02 -05:00
parent 85da9aa8f8
commit 078a050efe

View File

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