mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
Catting of changelog removed
This commit is contained in:
parent
b5408e50df
commit
0e18551b2c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user