From 5523f17400ef19dfaad1a669756b298e73a07e19 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 7 Oct 2023 20:31:12 +0300 Subject: [PATCH] Remove useless locks --- run.go | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.44.0