mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Add exit code to check_config script (#5471)
This commit is contained in:
parent
ccd2588cf7
commit
a6f341f06a
@ -146,7 +146,7 @@ def run(script_args: List) -> int:
|
||||
print(' -', skey + ':', sval, color('cyan', '[from:', flatsecret
|
||||
.get(skey, 'keyring') + ']'))
|
||||
|
||||
return 0
|
||||
return len(res['except'])
|
||||
|
||||
|
||||
def check(config_path):
|
||||
|
Loading…
x
Reference in New Issue
Block a user