diff options
author | makefu <root@pigstarter.de> | 2013-04-04 10:06:57 -0400 |
---|---|---|
committer | makefu <root@pigstarter.de> | 2013-04-04 10:06:57 -0400 |
commit | 35acaff77b9495fc7f10dd4312e2173de21d26ca (patch) | |
tree | 107f9ff96d770357838a226e1875155ac493aad5 /retiolum/scripts/adv_graphgen/anonytize.sh | |
parent | 5a6a263564129d4c441938ef35e9c6c6da60b20e (diff) |
fix file traps
Diffstat (limited to 'retiolum/scripts/adv_graphgen/anonytize.sh')
-rwxr-xr-x | retiolum/scripts/adv_graphgen/anonytize.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/retiolum/scripts/adv_graphgen/anonytize.sh b/retiolum/scripts/adv_graphgen/anonytize.sh index 2e2045e4..4aad6993 100755 --- a/retiolum/scripts/adv_graphgen/anonytize.sh +++ b/retiolum/scripts/adv_graphgen/anonytize.sh @@ -10,7 +10,7 @@ TYPE=svg TYPE2=png OPENER=/bin/true DOTFILE=`mktemp --suffix=anon` -trap 'rm $DOTFILE' INT TERM KILL +trap 'rm $DOTFILE' INT TERM KILL EXIT sudo -E python tinc_stats2json |\ python parse_tinc_anon.py> $DOTFILE @@ -28,4 +28,3 @@ convert $1/retiolum_1.$TYPE $1/retiolum_1.$TYPE2 #convert -resize 20% $1/retiolum_2.$TYPE $1/retiolum_2.$TYPE2 #convert -resize 20% $1/retiolum_3.$TYPE $1/retiolum_3.$TYPE2 #convert -resize 20% $1/retiolum_4.$TYPE $1/retiolum_4.$TYPE2 -rm $DOTFILE |