From 9747cef338a474a2048ecc5c798f3cf42a834ddd Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Mon, 8 May 2023 19:46:49 +0200 Subject: [PATCH] fix linter warnings --- cmd/restic/cmd_backup_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/restic/cmd_backup_integration_test.go b/cmd/restic/cmd_backup_integration_test.go index 5dee23f17..3af16a2be 100644 --- a/cmd/restic/cmd_backup_integration_test.go +++ b/cmd/restic/cmd_backup_integration_test.go @@ -205,7 +205,7 @@ func TestBackupNonExistingFile(t *testing.T) { testSetupBackupData(t, env) - withRestoreGlobalOptions(func() error { + _ = withRestoreGlobalOptions(func() error { globalOptions.stderr = io.Discard p := filepath.Join(env.testdata, "0", "0", "9")