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:
authorMichael Boelen <michael.boelen@cisofy.com>2016-07-30 14:48:22 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-07-30 14:48:22 +0300
commit0e18551b2c530ae137b7bd7493ff4898d982535c (patch)
treecc8d4de61a7b36697fee62c658437a476880a75f /include/helper_show
parentb5408e50dff2207e72fd15fa1a4d43214f91860d (diff)
Catting of changelog removed
Diffstat (limited to 'include/helper_show')
-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