summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/adv_graphgen/tinc_stats.py
diff options
context:
space:
mode:
authorChinaman <root@chinaman>2011-11-29 02:00:22 +0100
committerChinaman <root@chinaman>2011-11-29 02:00:22 +0100
commitc4c5f5570ddfd4f76e9078826aeb3df16920f7ce (patch)
treec7ddafa500b98dd1a34d2157d0de98ed8ef2a132 /retiolum/scripts/adv_graphgen/tinc_stats.py
parenta95cb58ffa45cf2f25430592a7cc60b70e26f232 (diff)
parentb1d71c062f1d29b2be3269a5e7e8a67030adfa6a (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))))