2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-29 07:00:49 +00:00

Print message in verbose mode only

Closes #2140
This commit is contained in:
Alexander Neumann 2019-01-10 21:27:56 +01:00
parent b96ef48562
commit 60c7020bcb

View File

@ -395,7 +395,9 @@ func runBackup(opts BackupOptions, gopts GlobalOptions, term *termstatus.Termina
var t tomb.Tomb var t tomb.Tomb
term.Print("open repository\n") if gopts.verbosity >= 2 {
term.Print("open repository\n")
}
repo, err := OpenRepository(gopts) repo, err := OpenRepository(gopts)
if err != nil { if err != nil {
return err return err