From 1e74f9be9a0c010ea63b7b0dd7d59d9933eb06c1 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Mon, 23 Mar 2020 15:55:40 +0100 Subject: Fixed 'lynis show details' output --- include/helper_show | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/helper_show') diff --git a/include/helper_show b/include/helper_show index b78da175..e251aad0 100644 --- a/include/helper_show +++ b/include/helper_show @@ -245,7 +245,7 @@ if [ $# -gt 0 ]; then shift if [ $# -eq 1 ]; then TESTID="$1" - awk -v search="Performing test ID $TESTID" '$0 ~ search {++f;p=1}p&&f==1;/===---/{p=0}' ${LOGFILE} + awk -v search="Performing test ID $TESTID" '$0 ~ search {++f;p=1}p&&f==1;/====/{p=0}' ${LOGFILE} fi fi ;; -- cgit v1.2.3