Difference between revisions of "Bash buildin: trap"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
   echo "ERROR: existed with error on line $1"
 
   echo "ERROR: existed with error on line $1"
 
  }
 
  }
 
+
 
  trap 'err_report [[$LINENO]]' ERR
 
  trap 'err_report [[$LINENO]]' ERR
  

Revision as of 10:49, 29 August 2022

Advertising: