mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Correct default behavior for gnupghome after cleanup
This commit is contained in:
parent
e8642a1606
commit
4d3b76a761
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ def _restore_ownership(func):
|
|||
Wrap gpg function calls to fix permissions
|
||||
"""
|
||||
user = kwargs.get("user")
|
||||
gnupghome = kwargs.get("gnupghome", _get_user_gnupghome(user))
|
||||
gnupghome = kwargs.get("gnupghome") or _get_user_gnupghome(user)
|
||||
keyring = kwargs.get("keyring")
|
||||
|
||||
userinfo = _get_user_info(user)
|
||||
|
|
Loading…
Add table
Reference in a new issue