* Slices w/ initscripts were starting repeatedly because the flag that signals the...
[nodemanager.git] / accounts.py
index 3413e9c..efac0ad 100644 (file)
@@ -146,8 +146,11 @@ class Worker:
     def _stop(self): self._acct.stop()
 
     def is_running(self): 
-        status = self._acct.is_running()
-        if not status:  logger.verbose("Worker(%s): is not running" % self.name)
+        if self._acct.is_running():
+            status = True
+        else:
+            status = False
+            logger.verbose("Worker(%s): is not running" % self.name)
         return status
 
     def _destroy(self, curr_class):