From: Sergey Matveev Date: Sat, 7 Oct 2023 17:31:12 +0000 (+0300) Subject: Remove useless locks X-Git-Tag: v2.0.0~6 X-Git-Url: http://www.git.cypherpunks.ru/?p=goredo.git;a=commitdiff_plain;h=5523f17400ef19dfaad1a669756b298e73a07e19 Remove useless locks --- diff --git a/run.go b/run.go index 037e7bd..bf66bc9 100644 --- a/run.go +++ b/run.go @@ -635,9 +635,7 @@ func runScript(tgt *Tgt, errs chan error, forced, traced bool) error { } if fdStderr != nil { ts.FromTime(time.Now()) - LogMutex.Lock() fmt.Fprintln(fdStderr, tai64n.Encode(ts[:]), line) - LogMutex.Unlock() } if StderrSilent { continue