Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2019-07-26 12:11:03 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-07-26 12:11:03 +0300
commit8321b986891eae1f928434ea9ac0003ae743ab67 (patch)
tree3631423290fabb7c0942258c598cd40f0c79219a /include
parentb7fb98a47f65a3eba15ac4222bb3a1e096432402 (diff)
[AUTH-9408] double escape to prevent error message (awk: warning: escape sequence '\[' treated as plain '[')
Diffstat (limited to 'include')
-rw-r--r--include/tests_authentication2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_authentication b/include/tests_authentication
index c8c44d3f..87bb96d7 100644
--- a/include/tests_authentication
+++ b/include/tests_authentication
@@ -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