mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user