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:46:04 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-07-30 14:46:04 +0300
commitb5408e50dff2207e72fd15fa1a4d43214f91860d (patch)
tree50d46cc8d4d577f0e32eebe0b75db44ae3fbc654 /include/helper_show
parenta5baafca026bc87d31d54e77e13989c27a4aedd4 (diff)
Removed unneeded spacing instructions
Diffstat (limited to 'include/helper_show')
-rw-r--r--include/helper_show2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/helper_show b/include/helper_show
index 3f334563..c6ca2dda 100644
--- a/include/helper_show
+++ b/include/helper_show
@@ -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