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>"
|
echo -n "<pre>"
|
||||||
if [ "$LOGTYPE" = "processtail" ]; then
|
if [ "$LOGTYPE" = "processtail" ]; then
|
||||||
echo -n "<!-- SCROLL -->"
|
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 -->"
|
echo -n "<!-- ENDSCROLL -->"
|
||||||
else
|
else
|
||||||
if [ $LOGFILESIZE -lt 524288 ]; then
|
if [ $LOGFILESIZE -lt 524288 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user