mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 10:58:55 +00:00
internal/archiver: Missing argument to errors.Errorf
This commit is contained in:
parent
09c14f33c8
commit
16849d5361
@ -420,7 +420,7 @@ func (arch *Archiver) Save(ctx context.Context, snPath, target string, previous
|
||||
|
||||
// make sure it's still a file
|
||||
if !fs.IsRegularFile(fi) {
|
||||
err = errors.Errorf("file %v changed type, refusing to archive")
|
||||
err = errors.Errorf("file %v changed type, refusing to archive", fi.Name())
|
||||
_ = file.Close()
|
||||
err = arch.error(abstarget, err)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user