diff --git a/cmd/restic/progress.go b/cmd/restic/progress.go index f38aef9a4..3ac4eef4a 100644 --- a/cmd/restic/progress.go +++ b/cmd/restic/progress.go @@ -16,7 +16,7 @@ func newProgressMax(show bool, max uint64, description string) *progress.Counter } interval := time.Second / 60 - if !stdinIsTerminal() { + if !stdoutIsTerminal() { interval = time.Second } else { fps, err := strconv.ParseInt(os.Getenv("RESTIC_PROGRESS_FPS"), 10, 64)