diff --git a/scripts/health/hahealth.py b/scripts/health/hahealth.py index f9a2e1dee..026f1fd53 100755 --- a/scripts/health/hahealth.py +++ b/scripts/health/hahealth.py @@ -22,7 +22,7 @@ def create_report(): if not create_report(): - crm.exit_ok({'status': 'Failed to create report'}) + crm.exit_fail({'status': 'Failed to create report'}) def extract_report():