summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/adv_graphgen/tinc_stats.py
diff options
context:
space:
mode:
authortv <tv@iiso>2011-11-12 12:14:07 +0100
committertv <tv@iiso>2011-11-12 12:14:07 +0100
commit2a85942bb7b227b80275dfdf6ee88814b86f4dbb (patch)
treecfa26d0a5bc9f72b3d7c992f0ca062590fabdca9 /retiolum/scripts/adv_graphgen/tinc_stats.py
parentd8c022c85e1a93da813b0aebf5002fa87c387879 (diff)
parente4e74037c0bc7f1b286b2b2f73c007204752295c (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'retiolum/scripts/adv_graphgen/tinc_stats.py')
-rwxr-xr-xretiolum/scripts/adv_graphgen/tinc_stats.py2
1 files changed, 1 insertions, 1 deletions
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))))