add trap for abnormal termination
This commit is contained in:
parent
ba27cff791
commit
91f0cdfa8e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user