summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/adv_graphgen/sanitize.sh
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-04-04 16:40:24 +0200
committertv <tv@nomic.retiolum>2013-04-04 16:40:24 +0200
commitf6dfecb5faf564b11a3c9bdfcaecab3f60b26a14 (patch)
tree9685eb00d8f827adaeb5b7b30389957068429da8 /retiolum/scripts/adv_graphgen/sanitize.sh
parentfcbbb6d3691ef67fc7845212f09e064634cf49f1 (diff)
parent35acaff77b9495fc7f10dd4312e2173de21d26ca (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'retiolum/scripts/adv_graphgen/sanitize.sh')
-rwxr-xr-xretiolum/scripts/adv_graphgen/sanitize.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/scripts/adv_graphgen/sanitize.sh b/retiolum/scripts/adv_graphgen/sanitize.sh
index 846cc549..c8071dc3 100755
--- a/retiolum/scripts/adv_graphgen/sanitize.sh
+++ b/retiolum/scripts/adv_graphgen/sanitize.sh
@@ -10,7 +10,7 @@ TYPE=svg
TYPE2=png
OPENER=/bin/true
DOTFILE=`mktemp --suffix=san`
-trap 'rm $DOTFILE' INT TERM KILL
+trap 'rm $DOTFILE' INT TERM KILL EXIT
sudo -E python tinc_stats2json |\
python parse_tinc_stats.py > $DOTFILE