aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testcases/features/doctor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/features/doctor.py b/testcases/features/doctor.py
index ca362ba67..946b0adf6 100644
--- a/testcases/features/doctor.py
+++ b/testcases/features/doctor.py
@@ -40,7 +40,7 @@ def main():
stop_time = time.time()
duration = round(stop_time - start_time, 1)
- if ret:
+ if ret == 0:
logger.info("doctor OK")
test_status = 'OK'
else: