Made the trap command function

This commit is contained in:
Nathaniel Landau
2015-02-07 13:14:48 -05:00
parent fb987fc526
commit ca554415e0

View File

@@ -204,7 +204,7 @@ done
# ############# ############# #############
# Trap bad exits with your cleanup function
trap trapCleanup INT TERM
trap trapCleanup EXIT INT TERM
# Exit on error. Append ||true if you expect an error.
set -o errexit