From a7853057ab125ec76daad4df8f0637236c10e985 Mon Sep 17 00:00:00 2001 From: jtagcat Date: Sat, 2 Oct 2021 23:24:14 +0300 Subject: [PATCH] Change: selfupdate: 'writing restic to' as verbose Running restic self-update --quiet no longer prints "writing restic to /usr/local/bin/restic". The only output printed with -q is failures or "successfully updated restic to version 0.12.1" https://github.com/restic/restic/pull/3535 fix test fail: changelog title can't end with `.` shorten changelog title --- cmd/restic/cmd_self_update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/restic/cmd_self_update.go b/cmd/restic/cmd_self_update.go index f71bdf16b..6d604c792 100644 --- a/cmd/restic/cmd_self_update.go +++ b/cmd/restic/cmd_self_update.go @@ -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) if err != nil {