From: Sergey Matveev Date: Thu, 29 Apr 2021 09:49:37 +0000 (+0300) Subject: Slightly simpler Fprint X-Git-Tag: v1.4.0~1 X-Git-Url: http://www.git.cypherpunks.ru/?p=goredo.git;a=commitdiff_plain;h=a9278680413807017c52f41920a307e695060bc2;hp=468a150138cdc10c3ec5ee00a77db06429b47456 Slightly simpler Fprint --- 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 {