From 682d877940812b75436efc9623103aa04801902c Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Tue, 27 Jun 2017 20:50:04 -0700 Subject: [PATCH] Fix how tail is called --- pipe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipe.sh b/pipe.sh index 7ba59d3..f22c875 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\", \ -- GitLab