diff options
author | spf13 <steve.francia@gmail.com> | 2013-10-09 19:06:47 -0400 |
---|---|---|
committer | spf13 <steve.francia@gmail.com> | 2013-10-09 19:14:26 -0400 |
commit | f5fda804866d971ece34d8862bcdcb8379d3cf92 (patch) | |
tree | cd8e4e8651673684025658519448954333a8bdf1 /utils | |
parent | 0318f7c149f98eb2bcbb44b0ca1c7420379190eb (diff) |
simplified buildSite & better error handling around it
Diffstat (limited to 'utils')
-rw-r--r-- | utils/utils.go | 2 |
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) |