aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlas Oliva <blas@gcoop.coop>2015-05-10 22:37:53 -0300
committerBlas Oliva <blas@gcoop.coop>2015-05-10 22:37:53 -0300
commit5dc77a485d60716d657453635602b98a5624ee32 (patch)
treea491f10c02f44419b131fa8a92ff5377e8bc0ff3
parenta1233cd18c2b9d4dd30d86074b7bd9323f3a9bbe (diff)
downloadreebot-5dc77a485d60716d657453635602b98a5624ee32.tar.gz
reebot-5dc77a485d60716d657453635602b98a5624ee32.zip
reebot matate
-rw-r--r--reefuncs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/reefuncs.py b/reefuncs.py
index b1cc3cf..ade775e 100644
--- a/reefuncs.py
+++ b/reefuncs.py
@@ -49,7 +49,7 @@ class reefuncs:
49 pass 49 pass
50 50
51 def matate(self): 51 def matate(self):
52 cmd = ['/etc/init.d/reebot', 'restart'] 52 cmd = ['/etc/init.d/reebot', 'stop']
53 killreebot = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 53 killreebot = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
54 out, err = killreebot.communicate() 54 out, err = killreebot.communicate()
55 rc = killreebot.returncode 55 rc = killreebot.returncode