Add exit code to check_config script (#5471)

This commit is contained in:
Dale Higgs 2017-01-21 01:39:50 -06:00 committed by Johann Kellerman
parent ccd2588cf7
commit a6f341f06a

View file

@ -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):