]> Cypherpunks.ru repositories - goredo.git/commitdiff
Slightly simpler Fprint
authorSergey Matveev <stargrave@stargrave.org>
Thu, 29 Apr 2021 09:49:37 +0000 (12:49 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 29 Apr 2021 09:49:37 +0000 (12:49 +0300)
run.go

diff --git a/run.go b/run.go
index a4aeb8738206b7bac7030d28dce67e07ffb74714..07882cdd71949f58774c8d8301edcb9a8adbf9d5 100644 (file)
--- 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 {