mirror of https://github.com/CISOfy/lynis.git
[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"
|
LogText "Result: did not find ${ROOTDIR}var/log/tallylog on disk or its file size is zero bytes"
|
||||||
fi
|
fi
|
||||||
# Determine if pam_tally2 is available
|
# 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
|
if ContainsString "pam_tally2" "${D}"; then
|
||||||
LogText "Result: found pam_tally2 module on disk"
|
LogText "Result: found pam_tally2 module on disk"
|
||||||
FOUND_PAM_TALLY2=1
|
FOUND_PAM_TALLY2=1
|
||||||
|
|
Loading…
Reference in New Issue