Browse Source

correct tail of fatal.log

Vadim Surkov 5 years ago
parent
commit
88124efb59
1 changed files with 1 additions and 1 deletions
  1. 1 1
      entrypoint.sh

+ 1 - 1
entrypoint.sh

@@ -7,7 +7,7 @@ fi
 echo "Starting AnalisServer.exe $@"
 touch /opt/analis/log/fatal.log
 ln -s /opt/analis/log/fatal.log /opt/analis/fatal.log
-tail -f /opt/analis/log/fatal.log | while read fread; do echo "[fatal.log]: ${fread}"; done &
+tail -n0 -f /opt/analis/log/fatal.log | while read fread; do echo "[fatal.log]: ${fread}"; done &
 # See Redmine 111631
 if [ ! -z ${DEBUG} ] && [ ${DEBUG} == "true" ]
 then