mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix bad return value in ssh._validate_keys.py
This commit is contained in:
parent
5d5ec1e19d
commit
c3db82154a
@ -124,7 +124,7 @@ def _validate_keys(key_file):
|
||||
'comment': comment,
|
||||
'options': options}
|
||||
except IOError:
|
||||
return 'fail'
|
||||
return {}
|
||||
|
||||
return ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user