From 0292a1648fd8486cc4befb58244896f803232e6e Mon Sep 17 00:00:00 2001 From: Thorsten Ball Date: Fri, 14 Jan 2022 14:24:04 +0100 Subject: [PATCH] sg: Print output, even if it's just one character (#29745) --- lib/process/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/process/logger.go b/lib/process/logger.go index 061bc19f16e..6fa93d3a571 100644 --- a/lib/process/logger.go +++ b/lib/process/logger.go @@ -84,7 +84,7 @@ func (l *Logger) writeLines(ctx context.Context) { // But since there *was* a newline, we need to flush, // but only if there is more than a newline or there // was already content. - if len(line) != 1 || l.buf.Len() > 0 { + if len(line) != 0 || l.buf.Len() > 0 { if err := l.bufLine(line); err != nil { break }