ui: move SetDryRun to ProgressReporter

This commit is contained in:
Michael Eischer
2021-08-18 13:03:08 +02:00
parent 77b129ec74
commit d62bfed65d
4 changed files with 13 additions and 19 deletions

View File

@@ -537,7 +537,7 @@ func runBackup(opts BackupOptions, gopts GlobalOptions, term *termstatus.Termina
if opts.DryRun {
repo.SetDryRun()
progressPrinter.SetDryRun()
progressReporter.SetDryRun()
}
// use the terminal for stdout/stderr