mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-27 20:45:19 -04:00
fix
This commit is contained in:
parent
0eea681ce8
commit
784867e24b
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ fi
|
|||
deny=3
|
||||
|
||||
if test -f /etc/security/faillock.conf ; then
|
||||
deny_line=$(grep --invert-match "#" -- /etc/security/faillock.conf | grep -- "deny =")
|
||||
deny_line=$(grep --invert-match "#" -- /etc/security/faillock.conf | grep -- "deny =") || true
|
||||
deny="$(printf '%s\n' "$deny_line" | str_replace "=" "" | str_replace "deny" "" | str_replace " " "")"
|
||||
## Example:
|
||||
#deny=50
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue