webbuild-functions-private: use stdbuf to prevent buffering in processtail
This commit is contained in:
parent
9ab269e0f7
commit
82337b4343
@ -51,7 +51,7 @@ function showlog() {
|
||||
echo -n "<pre>"
|
||||
if [ "$LOGTYPE" = "processtail" ]; then
|
||||
echo -n "<!-- SCROLL -->"
|
||||
tail -n +0 -f $f --pid $PROCESSPID | sed "s|<|\<|g"
|
||||
tail -n +0 -f $f --pid $PROCESSPID | stdbuf -oL sed "s|<|\<|g"
|
||||
echo -n "<!-- ENDSCROLL -->"
|
||||
else
|
||||
if [ $LOGFILESIZE -lt 524288 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user