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
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ func copyFile(dst, src string) error {
err = os.Chtimes(dst, fi.ModTime(), fi.ModTime()) 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 // die prints the message with fmt.Fprintf() to stderr and exits with an error