fix return code for check database run with 'not applicable'

This commit is contained in:
Sarah Hoffmann
2021-02-19 18:32:00 +01:00
parent f08078ccca
commit 4b32cbe518
2 changed files with 1 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ def check_database(config):
if ret == CheckState.FATAL:
conn.close()
return 1
if ret != CheckState.OK:
if ret in (CheckState.FATAL, CheckState.FAIL):
overall_result = 1
conn.close()