fixed trap function

This commit is contained in:
Nathaniel Landau
2015-02-07 13:17:45 -05:00
parent 45604bd2c3
commit a650a3eabb

View File

@@ -513,7 +513,7 @@ done
# ############# ############# ############# # ############# ############# #############
# Trap bad exits with your cleanup function # 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. # Exit on error. Append ||true if you expect an error.
set -o errexit set -o errexit