mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-07 14:01:06 +07:00
pam-info fix
This commit is contained in:
parent
ae113442a1
commit
f59f959a8d
@ -118,8 +118,11 @@ fi
|
||||
|
||||
## Get first line.
|
||||
#pam_faillock_output_first_line="$(echo "$pam_faillock_output" | head --lines=1)"
|
||||
echo "$pam_faillock_output" | read -t 10 -r pam_faillock_output_first_line || true
|
||||
while read -t 10 -r pam_faillock_output_first_line ; do
|
||||
break
|
||||
done <<< "$pam_faillock_output"
|
||||
|
||||
true "pam_faillock_output_first_line: '$pam_faillock_output_first_line'"
|
||||
## example pam_faillock_output_first_line:
|
||||
## user:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user