Remove extraneous -f between tail file arguments

tail requires the -f/-F option to be passed just once, not between every log file.
This commit is contained in:
Bryce Chidester
2022-07-11 10:57:17 -07:00
committed by GitHub
parent dedfeaca08
commit b752310808
+1 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bash
TAIL_LOGS=$(echo "$LOGS_TO_STDOUT" | sed 's#|# -f #g')
TAIL_LOGS=$(echo "$LOGS_TO_STDOUT" | sed 's#|# #g')
echo "Executing: tail -F $TAIL_LOGS"
tail -F $TAIL_LOGS