1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 00:07:25 +00:00

Merge pull request 2142 from restic/fix-2140

Print message in verbose mode only
This commit is contained in:
Alexander Neumann 2019-01-12 13:30:20 +01:00
commit 1107eef215

View file

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