mirror of
https://github.com/restic/restic.git
synced 2026-04-04 20:28:52 +00:00
ui: move SetDryRun to ProgressReporter
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user