2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-25 14:17:42 +00:00

build.go: Don't ignore error

This commit is contained in:
Alexander Neumann 2018-08-31 19:51:48 +02:00
parent f1b0bb33dd
commit d31666d332

View File

@ -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