V8.13.392.2025.11.07
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m15s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m15s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -87,10 +87,11 @@ declare -gir ERR_UNBOUNDVAR=254 # Unbound Variable
|
||||
declare -gir ERR_UNSPPTBASH=255 # Unsupported Bash
|
||||
|
||||
### Definition of error trap vars
|
||||
declare -g ERRCODE="" # = $? = $1 = ERRCODE
|
||||
declare -g ERRSCRT="" # = ${BASH_SOURCE[0]} = $2 = ERRSCRT
|
||||
declare -g ERRLINE="" # = ${LINENO} = $3 = ERRLINE
|
||||
declare -g ERRFUNC="" # = ${FUNCNAME[0]:-main} = $4 = ERRFUNC
|
||||
declare -g ERRCMMD="" # = ${$BASH_COMMAND} = $5 = ERRCMMD
|
||||
declare -gx ERRCODE="" # = $? = $1 = ERRCODE
|
||||
declare -gx ERRSCRT="" # = ${BASH_SOURCE[0]} = $2 = ERRSCRT
|
||||
declare -gx ERRLINE="" # = ${LINENO} = $3 = ERRLINE
|
||||
declare -gx ERRFUNC="" # = ${FUNCNAME[0]:-main} = $4 = ERRFUNC
|
||||
declare -gx ERRCMMD="" # = ${$BASH_COMMAND} = $5 = ERRCMMD
|
||||
declare -gx ERRTRAP="false"
|
||||
|
||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||
|
||||
Reference in New Issue
Block a user