check_status(): No-op if there's no proc object
@@ -147,6 +147,7 @@ class DaemonState(object):
:raises: CommandFailedError, if the process was run with
check_status=True
"""
+ if self.proc:
return self.proc.poll()
