From: Julien Cristau Date: Wed, 3 Jan 2018 11:36:53 +0000 (+0100) Subject: Delete temp dir in update-fastly-ips script X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5c9a3a919825a4f1990d0bb4cdf5078c3185fcc4;p=mirror%2Fdsa-puppet.git Delete temp dir in update-fastly-ips script --- diff --git a/modules/puppetmaster/files/update-fastly-ips.sh b/modules/puppetmaster/files/update-fastly-ips.sh index ab0871ccb..50f8cb729 100644 --- a/modules/puppetmaster/files/update-fastly-ips.sh +++ b/modules/puppetmaster/files/update-fastly-ips.sh @@ -4,6 +4,7 @@ set -e dest="$1" tmp=$(mktemp -d) +trap 'rm -rf $tmp' EXIT cd $tmp if [ -d /etc/ssl/ca-global ]; then