update shell template
This commit is contained in:
1 parent
f69dd88030
commit
885294fa9f
1 file changed
+1
@@ -105,6 +105,7 @@ function traperror() {
|
||||
local linecallfunc="$3"
|
||||
local command="$4"
|
||||
local funcstack="$5"
|
||||
IFS=" "
|
||||
for e in ${err[@]}; do
|
||||
if test -n "$e" -a "$e" != "0"; then
|
||||
error "line $line - command '$command' exited with status: $e (${err[@]})"
|
||||
|
||||
Reference in new issue
Block a user