Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/helper_show2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/helper_show b/include/helper_show
index c6ca2dda..bc2b38b4 100644
--- a/include/helper_show
+++ b/include/helper_show
@@ -144,7 +144,7 @@ if [ $# -gt 0 ]; then
if [ ! -z "${CHANGELOG}" ]; then
SEARCH=$(egrep "^${PROGRAM_NAME} ${SEARCH_VERSION}" ${CHANGELOG})
if [ $? -eq 0 ]; then
- cat ${CHANGELOG} | while read -r LINE; do
+ while read -r LINE; do
if [ ${STARTED} -eq 0 ]; then
SEARCH=$(echo ${LINE} | egrep "^${PROGRAM_NAME} ${SEARCH_VERSION}")
if [ $? -eq 0 ]; then STARTED=1; ${ECHOCMD} "${BOLD}${LINE}${NORMAL}"; fi