From 3006b8dd267a827af1969099134a443cacf61e7a Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Thu, 8 Aug 2019 15:05:23 +0200 Subject: [PATCH] [AUTH-9408] both backslash and brackets needs to be individually escaped --- include/tests_authentication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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