[AUTH-9408] double escape to prevent error message (awk: warning: escape sequence '\[' treated as plain '[')

This commit is contained in:
Michael Boelen 2019-07-26 11:11:03 +02:00
parent b7fb98a47f
commit 8321b98689
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
1 changed files with 1 additions and 1 deletions

View File

@ -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