1
0
mirror of https://github.com/restic/restic.git synced 2024-06-20 07:06:38 +02: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