diff --git a/pipe.sh b/pipe.sh index 7ba59d3aaffb4c51eb20e2885015e0a21134c6cc..f22c875e48f062953e649e4c6301ce042e6f19b1 100755 --- a/pipe.sh +++ b/pipe.sh @@ -9,7 +9,7 @@ COLOR=${5:-default} ICON_URL=$6 GREP=$7 -tail -n0 -F "$LOG_FILE" | while read LINE; do +tail -Fq "$LOG_FILE" | while read LINE; do (echo "$LINE" | grep -e "$GREP") && jq -n --arg line_encoded " $LINE" \ "{ \ channel: \"$CHANNEL\", \ username: \"$USERNAME\", \