diff options
Diffstat (limited to 'utils/utils.go')
-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) |