2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-26 06:46:34 +00:00

Change ambiguous Warning message

Fixes #3346

On branch fix_ambiguous_warning
Changes to be committed:
    modified:   cmd_backup.go
This commit is contained in:
Andrew Jarcho 2021-03-24 10:42:12 -04:00
parent 88a23521dd
commit 9f44129c2f

View File

@ -97,7 +97,7 @@ type BackupOptions struct {
var backupOptions BackupOptions var backupOptions BackupOptions
// ErrInvalidSourceData is used to report an incomplete backup // 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() { func init() {
cmdRoot.AddCommand(cmdBackup) cmdRoot.AddCommand(cmdBackup)