2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-19 11:35:14 +00:00

Merge pull request #3535 from jtagcat/writingverbose

Change: selfupdate: 'writing restic to' as verbose
This commit is contained in:
MichaelEischer 2021-10-09 22:41:51 +02:00 committed by GitHub
commit 46d08d9404
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@ func runSelfUpdate(opts SelfUpdateOptions, gopts GlobalOptions, args []string) e
} }
} }
Printf("writing restic to %v\n", opts.Output) Verbosef("writing restic to %v\n", opts.Output)
v, err := selfupdate.DownloadLatestStableRelease(gopts.ctx, opts.Output, version, Verbosef) v, err := selfupdate.DownloadLatestStableRelease(gopts.ctx, opts.Output, version, Verbosef)
if err != nil { if err != nil {