From d31666d3322dd27384aa72eac95424ad98cb2cf1 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Fri, 31 Aug 2018 19:51:48 +0200 Subject: [PATCH] build.go: Don't ignore error --- build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.go b/build.go index 7d374cbc4..c2cc8bbe5 100644 --- a/build.go +++ b/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