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-08-08 16:05:23 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-08-08 16:05:23 +0300
commit3006b8dd267a827af1969099134a443cacf61e7a (patch)
tree308e30a980ec0f3f70f7f38068b400f9d5193f48 /include
parentfdc29775758c385dab43674715be4a44ea3ff810 (diff)
[AUTH-9408] both backslash and brackets needs to be individually escaped
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 b9f714b5..733dfc4f 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