From a9278680413807017c52f41920a307e695060bc2 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 29 Apr 2021 12:49:37 +0300 Subject: [PATCH] Slightly simpler Fprint --- run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.go b/run.go index a4aeb87..07882cd 100644 --- a/run.go +++ b/run.go @@ -468,7 +468,7 @@ func runScript(tgtOrig string, errs chan error, traced bool) error { if fdStderr != nil { ts.FromTime(time.Now()) LogMutex.Lock() - fmt.Fprintf(fdStderr, "%s %s\n", tai64n.Encode(ts[:]), line) + fmt.Fprintln(fdStderr, tai64n.Encode(ts[:]), line) LogMutex.Unlock() } if StderrSilent { -- 2.44.0