summaryrefslogtreecommitdiffstats
path: root/.scripts
diff options
context:
space:
mode:
Diffstat (limited to '.scripts')
-rwxr-xr-x.scripts/sanitize.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/.scripts/sanitize.sh b/.scripts/sanitize.sh
index 4ce6ff51..88591b67 100755
--- a/.scripts/sanitize.sh
+++ b/.scripts/sanitize.sh
@@ -7,6 +7,7 @@ sudo pkill -USR2 tincd
sudo sed -n '/tinc.retiolum/{s/.*tinc.retiolum\[[0-9]*\]: //gp}' $LOG_FILE |\
./parse.py > retiolum.dot
-$GRAPH_SETTER1 -Tpng -o retiolum_1.png retiolum.dot
-$GRAPH_SETTER2 -Tpng -o retiolum_2.png retiolum.dot
+$GRAPH_SETTER1 -Tpng -o $1retiolum_1.png retiolum.dot
+$GRAPH_SETTER2 -Tpng -o $1retiolum_2.png retiolum.dot
$OPENER retiolum_1.png &>/dev/null
+rm retiolum.dot