From 13127f3f6bf2e88683ae5795a90415974e68f901 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sat, 25 May 2024 21:29:18 +0200 Subject: [PATCH] check: remove output mangling workaround --- cmd/restic/cmd_check.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cmd/restic/cmd_check.go b/cmd/restic/cmd_check.go index e5aebc6e4..642a46c00 100644 --- a/cmd/restic/cmd_check.go +++ b/cmd/restic/cmd_check.go @@ -315,11 +315,7 @@ func runCheck(ctx context.Context, opts CheckOptions, gopts GlobalOptions, args for err := range errChan { errorsFound = true if e, ok := err.(*checker.TreeError); ok { - var clean string - if stdoutCanUpdateStatus() { - clean = clearLine(0) - } - printer.E(clean+"error for tree %v:\n", e.ID.Str()) + printer.E("error for tree %v:\n", e.ID.Str()) for _, treeErr := range e.Errors { printer.E(" %v\n", treeErr) }