mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
[AUTH-9408] double escape to prevent error message (awk: warning: escape sequence '\[' treated as plain '[')
This commit is contained in:
parent
b7fb98a47f
commit
8321b98689
@ -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