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

Merge pull request #2717 from MichaelEischer/fix-flaky-password-prompt

backup: Avoid race between password prompt and open repository message
This commit is contained in:
MichaelEischer 2020-05-01 23:58:55 +02:00 committed by GitHub
commit 1ee2306033
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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