Changeset - cbea64fc0225
[Not reviewed]
default
0 1 0
Dennis Fink - 11 years ago 2013-11-18 21:23:08
dennis.fink@c3l.lu
updated ennstatus
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
Scripts/update_server.py
Show inline comments
 
@@ -31,7 +31,7 @@ def get_tor_status(name='tor'):
 
        pid = open('/'.join(['/var', 'run', 'tor', pid_file])).readline()
 
        print(pid)
 

	
 
        if pid in pids:
 
        if str(pid) in pids:
 
            return "Online"
 
        else:
 
            return "Offline"
0 comments (0 inline, 0 general)