mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
[AUTH-9408] both backslash and brackets needs to be individually escaped
This commit is contained in:
parent
fdc2977575
commit
3006b8dd26
@ -1393,7 +1393,7 @@
|
||||
LogText "Result: did not find ${ROOTDIR}var/log/tallylog on disk or its file size is zero bytes"
|
||||
fi
|
||||
# Determine if pam_tally2 is available
|
||||
for D in $(GetReportData --key "pam_module\\[\\]"); do
|
||||
for D in $(GetReportData --key "pam_module\\\[\\\]"); do
|
||||
if ContainsString "pam_tally2" "${D}"; then
|
||||
LogText "Result: found pam_tally2 module on disk"
|
||||
FOUND_PAM_TALLY2=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user