summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-11 19:14:21 +0200
committerFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-11 19:14:21 +0200
commit8af6157ac87d5599b6baeed561c36ae1d0c1a34d (patch)
treeee6b31e8db38a40e04ec0ebed5bd8336a0a65d9f
parent49325745fa00798c383364dd55e4cffd704cdebc (diff)
fixed race condition error
-rwxr-xr-xretiolum/hosts/.scripts/sanitize.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/hosts/.scripts/sanitize.sh b/retiolum/hosts/.scripts/sanitize.sh
index 0a92bf64..4ce6ff51 100755
--- a/retiolum/hosts/.scripts/sanitize.sh
+++ b/retiolum/hosts/.scripts/sanitize.sh
@@ -4,7 +4,7 @@ LOG_FILE=/var/log/everything.log
OPENER=/bin/true
sudo pkill -USR2 tincd
-sudo sed -n '/tinc.retiolum/{s/.*tinc.retiolum\[[1-9]*\]: //gp}' $LOG_FILE |\
+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