From 8af6157ac87d5599b6baeed561c36ae1d0c1a34d Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Wed, 11 May 2011 19:14:21 +0200 Subject: fixed race condition error --- retiolum/hosts/.scripts/sanitize.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'retiolum/hosts') 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 -- cgit v1.2.3