mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +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
|
print(' -', skey + ':', sval, color('cyan', '[from:', flatsecret
|
||||||
.get(skey, 'keyring') + ']'))
|
.get(skey, 'keyring') + ']'))
|
||||||
|
|
||||||
return 0
|
return len(res['except'])
|
||||||
|
|
||||||
|
|
||||||
def check(config_path):
|
def check(config_path):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user