fix trapExit error code
This commit is contained in:
parent
1144eb6ae6
commit
13b75232bc
@ -136,7 +136,7 @@ trapExit () {
|
||||
# note script completion with error
|
||||
printf "${err}[%s] --- %s execution was terminated via signal ---${norm}\n" \
|
||||
"$(stamp)" "$scriptName" >> "$logFile"
|
||||
exit "$1"
|
||||
exit 99
|
||||
}
|
||||
|
||||
### end of functions
|
||||
|
Loading…
Reference in New Issue
Block a user