From fd04c6e43a61d7f452af0b45519f7235ea77b017 Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Sat, 12 Dec 2015 21:47:30 +0100 Subject: [PATCH] Stop handling errors before we play with the EC2 CLI. --- create-ami.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/create-ami.sh b/create-ami.sh index 99c7d0e..7ff049d 100755 --- a/create-ami.sh +++ b/create-ami.sh @@ -117,6 +117,7 @@ echo rm -f ${_LOG} rmdir ${_MNT} || true +set +e trap - TERM if [[ ${S3UPLOAD} == "YES" ]]; then