From 35be61fece8fabb430ef44c3f7a7d62d62b18ffd Mon Sep 17 00:00:00 2001 From: EUcancER Date: Thu, 10 Nov 2011 18:15:34 +0100 Subject: //retiolum/adv_graphgen: refactor graph generation, fix weight issue --- retiolum/scripts/adv_graphgen/tinc_stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'retiolum/scripts/adv_graphgen/tinc_stats.py') diff --git a/retiolum/scripts/adv_graphgen/tinc_stats.py b/retiolum/scripts/adv_graphgen/tinc_stats.py index be3bbbff..d0d47aff 100755 --- a/retiolum/scripts/adv_graphgen/tinc_stats.py +++ b/retiolum/scripts/adv_graphgen/tinc_stats.py @@ -78,6 +78,6 @@ def parse_input(log_data): if __name__ == '__main__': import subprocess,time - subprocess.popen("pkill -SIGUSR2 tincd") + subprocess.call(["pkill","-SIGUSR2", "tincd"]) time.sleep(1) print json.dumps(parse_input((get_tinc_block(SYSLOG_FILE)))) -- cgit v1.2.3