Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorspf13 <steve.francia@gmail.com>2013-10-10 03:06:47 +0400
committerspf13 <steve.francia@gmail.com>2013-10-10 03:14:26 +0400
commitf5fda804866d971ece34d8862bcdcb8379d3cf92 (patch)
treecd8e4e8651673684025658519448954333a8bdf1 /utils
parent0318f7c149f98eb2bcbb44b0ca1c7420379190eb (diff)
simplified buildSite & better error handling around it
Diffstat (limited to 'utils')
-rw-r--r--utils/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/utils.go b/utils/utils.go
index 641abfeb2..a79740c9a 100644
--- a/utils/utils.go
+++ b/utils/utils.go
@@ -14,7 +14,7 @@ func CheckErr(err error, s ...string) {
}
}
-func CheckErrExit(err error, s ...string) {
+func StopOnErr(err error, s ...string) {
if err != nil {
CheckErr(err, s...)
os.Exit(-1)