From: Ian Kelling <ian@iankelling.org>
Date: Thu, 5 Jun 2014 18:35:23 +0000 (-0700)
Subject: name function consistently
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=792814d3ba852b921c3c2213db89b997687024c9;p=errhandle.git

name function consistently
---

diff --git a/errcatch-function b/errcatch-function
index 14ebe33..92751bf 100644
--- a/errcatch-function
+++ b/errcatch-function
@@ -15,7 +15,7 @@
 
 # General purpose bash error handling setup
 # Exit on all errors. Print useful information.
-catcherr() { 
+errcatch() { 
     set -eE;
     trap 'echo "${BASH_COMMAND:+BASH_COMMAND=\"$BASH_COMMAND\" }
 ${FUNCNAME:+FUNCNAME=\"$FUNCNAME\" }${LINENO:+LINENO=\"$LINENO\"  }\$?=$?"' ERR