add trap for abnormal termination

This commit is contained in:
Asif Bacchus 2019-06-18 22:14:33 -06:00
parent ba27cff791
commit 91f0cdfa8e

View File

@ -15,6 +15,10 @@ cyan=$(tput setaf 6)
magenta=$(tput setaf 5)
### trap
trap cleanup 1 2 3 6
### functions
# bad configuration value passed in details file