X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=run.go;h=2efd2d31a80e20917f0ee89a027da0f10354ddca;hb=663a0b42bef23f4ead253f55b3e2db158eac3585;hp=af71b3b8b3b4c4b08d39082e295d2fa48316ed62;hpb=314f58ec690c7321535d6718e8d3a0ecb4cac019;p=goredo.git diff --git a/run.go b/run.go index af71b3b..2efd2d3 100644 --- a/run.go +++ b/run.go @@ -35,7 +35,7 @@ import ( "time" "go.cypherpunks.ru/recfile" - "go.cypherpunks.ru/tai64n" + "go.cypherpunks.ru/tai64n/v2" "golang.org/x/sys/unix" ) @@ -464,9 +464,9 @@ func runScript(tgtOrig string, errs chan error, traced bool) error { continue } if fdStderr != nil { - tai64n.FromTime(time.Now(), ts) + ts.FromTime(time.Now()) LogMutex.Lock() - fmt.Fprintf(fdStderr, "%s %s\n", ts.Encode(), line) + fmt.Fprintf(fdStderr, "%s %s\n", tai64n.Encode(ts[:]), line) LogMutex.Unlock() } if StderrSilent {