script: correctly handle buffered "tail" of output. +35 bytes.

1 file changed