From 8321b986891eae1f928434ea9ac0003ae743ab67 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Fri, 26 Jul 2019 11:11:03 +0200 Subject: [PATCH] [AUTH-9408] double escape to prevent error message (awk: warning: escape sequence '\[' treated as plain '[') --- include/tests_authentication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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