mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
fix return code for check database run with 'not applicable'
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user