summaryrefslogtreecommitdiffstats
path: root/src/ogProcess.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ogProcess.py')
-rw-r--r--src/ogProcess.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ogProcess.py b/src/ogProcess.py
index ff78f34..a2fca8b 100644
--- a/src/ogProcess.py
+++ b/src/ogProcess.py
@@ -11,8 +11,12 @@ class ogProcess():
def processOperation(self, op, URI):
if ("poweroff" in URI):
self.process_poweroff()
+ return 1
elif ("reboot" in URI):
self.process_reboot()
+ return 1
+
+ return 0
def process_reboot(self):
# Rebooting thread