summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/features/marker/utils/syncdaemon/monitor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/monitor.py b/xlators/features/marker/utils/syncdaemon/monitor.py
index afc6403d2b1..5e5d22f4f91 100644
--- a/xlators/features/marker/utils/syncdaemon/monitor.py
+++ b/xlators/features/marker/utils/syncdaemon/monitor.py
@@ -41,7 +41,7 @@ class Monitor(object):
cpid = os.spawnv(os.P_NOWAIT, sys.executable, argv)
time.sleep(60)
ret = nwait(cpid, os.WNOHANG)
- if not ret:
+ if ret == None:
self.set_state('OK')
ret = nwait(cpid)
elif ret in (0, 1):