mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Handle PermissionError when importing crypt when FIPS is enabled.
This commit is contained in:
parent
6ce24c90f3
commit
1c1dd0062a
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ try:
|
|||
import crypt
|
||||
|
||||
HAS_CRYPT = True
|
||||
except ImportError:
|
||||
except (ImportError, PermissionError):
|
||||
HAS_CRYPT = False
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue