@@ -215,7 +215,7 @@ diff "$logfile" "$oldlog" | grep -v "^>" > "$tempdiff"
# Count the number of matching log entries we have and handle errors when grep fails
count=$(grep -c "$query" "$tempdiff" 2>&1)
-if [[ $? -gt 1 ]];then
+if [ $? -gt 1 ];then
echo "Log check error: $count"
exit "$STATE_UNKNOWN"
fi