1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-17 18:45:14 +00:00

Update bash.sh

This commit is contained in:
Vitaly Bagno 2018-02-11 21:02:37 +02:00 committed by GitHub
parent 3e7c440853
commit 2ef26d3c39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -400,7 +400,7 @@ function errtrap {
echo "ERROR line $1: Command exited with status $es."
}
trap 'errtrap $LINENO' ERR # is run whenever a command in the surrounding script or function exists with non-zero status
trap 'errtrap $LINENO' ERR # is run whenever a command in the surrounding script or function exits with non-zero status
function dbgtrap {
echo "badvar is $badvar"