mirror of https://github.com/CISOfy/lynis.git
Removed unneeded spacing instructions
This commit is contained in:
parent
a5baafca02
commit
b5408e50df
|
@ -281,8 +281,6 @@ if [ $# -gt 0 ]; then
|
|||
SETTING=$(echo ${LINE} | awk -F';' '{print $1}')
|
||||
VALUE=$(echo ${LINE} | awk -F';' '{print $2}')
|
||||
DESCRIPTION=$(echo ${LINE} | awk -F';' '{print $3}' | sed 's/:space:/ /g')
|
||||
LINESIZE=$(echo "${SETTING}=${VALUE}" | wc -m | tr -d ' ')
|
||||
SPACES=$((60 - ${LINESIZE}))
|
||||
if [ -z "${VALUE}" -a ${CONFIGURED_ONLY_OUTPUT} -eq 0 ]; then VALUE="${GRAY}[not configured]${NORMAL}"; fi
|
||||
if [ ! -z "${VALUE}" ]; then
|
||||
if [ ${BRIEF_OUTPUT} -eq 0 ]; then ${ECHOCMD} "${GRAY}# ${DESCRIPTION}${NORMAL}"; fi
|
||||
|
|
Loading…
Reference in New Issue