Skip to content
Snippets Groups Projects
Commit 682d8779 authored by Erick Hitter's avatar Erick Hitter
Browse files

Fix how tail is called

parent 52ebf7d3
No related branches found
No related tags found
No related merge requests found
......@@ -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\", \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment