mirror of
https://github.com/restic/restic.git
synced 2024-12-23 08:16:36 +00:00
Merge pull request 2142 from restic/fix-2140
Print message in verbose mode only
This commit is contained in:
commit
1107eef215
1 changed files with 3 additions and 1 deletions
|
@ -395,7 +395,9 @@ func runBackup(opts BackupOptions, gopts GlobalOptions, term *termstatus.Termina
|
||||||
|
|
||||||
var t tomb.Tomb
|
var t tomb.Tomb
|
||||||
|
|
||||||
|
if gopts.verbosity >= 2 {
|
||||||
term.Print("open repository\n")
|
term.Print("open repository\n")
|
||||||
|
}
|
||||||
repo, err := OpenRepository(gopts)
|
repo, err := OpenRepository(gopts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue