forked from TrueCloudLab/restic
build.go: Don't ignore error
This commit is contained in:
parent
f1b0bb33dd
commit
d31666d332
1 changed files with 1 additions and 1 deletions
2
build.go
2
build.go
|
@ -208,7 +208,7 @@ func copyFile(dst, src string) error {
|
|||
err = os.Chtimes(dst, fi.ModTime(), fi.ModTime())
|
||||
}
|
||||
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
|
||||
// die prints the message with fmt.Fprintf() to stderr and exits with an error
|
||||
|
|
Loading…
Reference in a new issue