From 7a1762dec86fb016b54b819d0769827d453bb814 Mon Sep 17 00:00:00 2001 From: Riaan Olivier Date: Wed, 5 May 2021 09:47:04 +0200 Subject: [PATCH 1/2] Corrected the missing break in the code --- lynis | 1 + 1 file changed, 1 insertion(+) diff --git a/lynis b/lynis index 71eafb1a..d9448ecb 100755 --- a/lynis +++ b/lynis @@ -89,6 +89,7 @@ if [ -d "${WORKDIR}/include" ]; then INCLUDEDIR="${WORKDIR}/include"; fi elif [ -d ${I} -a -z "${INCLUDEDIR}" ]; then INCLUDEDIR=${I} + break fi done fi From c347a68aa69513e28b5df8d6126a552af04d8699 Mon Sep 17 00:00:00 2001 From: Riaan Olivier Date: Wed, 5 May 2021 09:48:29 +0200 Subject: [PATCH 2/2] Corrected the missing break in the code --- lynis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lynis b/lynis index d9448ecb..135fa5ab 100755 --- a/lynis +++ b/lynis @@ -89,7 +89,7 @@ if [ -d "${WORKDIR}/include" ]; then INCLUDEDIR="${WORKDIR}/include"; fi elif [ -d ${I} -a -z "${INCLUDEDIR}" ]; then INCLUDEDIR=${I} - break + break fi done fi