From 9f44129c2f87c567a6598d513c55cd2222f9c48d Mon Sep 17 00:00:00 2001 From: Andrew Jarcho Date: Wed, 24 Mar 2021 10:42:12 -0400 Subject: [PATCH] Change ambiguous Warning message Fixes #3346 On branch fix_ambiguous_warning Changes to be committed: modified: cmd_backup.go --- cmd/restic/cmd_backup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/restic/cmd_backup.go b/cmd/restic/cmd_backup.go index 29169a018..a6b25834c 100644 --- a/cmd/restic/cmd_backup.go +++ b/cmd/restic/cmd_backup.go @@ -97,7 +97,7 @@ type BackupOptions struct { var backupOptions BackupOptions // ErrInvalidSourceData is used to report an incomplete backup -var ErrInvalidSourceData = errors.New("failed to read all source data during backup") +var ErrInvalidSourceData = errors.New("at least one source file could not be read") func init() { cmdRoot.AddCommand(cmdBackup)