fix trapExit error code

This commit is contained in:
Asif Bacchus 2019-06-18 22:32:33 -06:00
parent 1144eb6ae6
commit 13b75232bc
1 changed files with 1 additions and 1 deletions

View File

@ -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