diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2020-03-23 17:55:40 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2020-03-23 17:55:40 +0300 |
commit | 1e74f9be9a0c010ea63b7b0dd7d59d9933eb06c1 (patch) | |
tree | f6088d77f9ba8c7aa52a27e98d4aba8942eeee15 /include/helper_show | |
parent | 7d1fe1231a564a30f5a926b5eadb38dc3e22de86 (diff) |
Fixed 'lynis show details' output
Diffstat (limited to 'include/helper_show')
-rw-r--r-- | include/helper_show | 2 |
1 files changed, 1 insertions, 1 deletions
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 ;; |