name function consistently
authorIan Kelling <ian@iankelling.org>
Thu, 5 Jun 2014 18:35:23 +0000 (11:35 -0700)
committerIan Kelling <ian@iankelling.org>
Fri, 12 Aug 2016 22:34:39 +0000 (15:34 -0700)
errcatch-function

index 14ebe335c4a3a304693dc2e13d3a540f2055655e..92751bf99f49c84ae176eb8fba6eb3d9b5c419b8 100644 (file)
@@ -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