mirror of https://github.com/CISOfy/lynis.git
Cleaning up some lines
This commit is contained in:
parent
afaecd9512
commit
fd5c968d16
|
@ -5,8 +5,8 @@
|
|||
# Lynis
|
||||
# ------------------
|
||||
#
|
||||
# Copyright 2007-2015, Michael Boelen - CISOfy
|
||||
# https://cisofy.com
|
||||
# Copyright 2007-2015, Michael Boelen - CISOfy (michael.boelen@cisofy.com)
|
||||
# Website: https://cisofy.com
|
||||
#
|
||||
# This software is licensed under GPL, version 3. See LICENSE file for
|
||||
# usage of this software.
|
||||
|
@ -132,7 +132,6 @@
|
|||
# Check updates
|
||||
CheckUpdates()
|
||||
{
|
||||
# Possible improvement: determine if host binary exists YYY
|
||||
PROGRAM_LV="0000000000"; DB_MALWARE_LV="0000000000"; DB_FILEPERMS_LV="0000000000"
|
||||
LYNIS_LV_RECORD="lynis-latest-version.cisofy.com."
|
||||
FIND=`which dig 2> /dev/null`
|
||||
|
@ -352,8 +351,6 @@
|
|||
fi
|
||||
fi
|
||||
|
||||
# YYY check group ownership (just in case)
|
||||
|
||||
# Check if we have the read bit
|
||||
if [ "${OTHERPERMS}" = "r" ]; then
|
||||
CANREAD=1
|
||||
|
@ -824,12 +821,12 @@
|
|||
NGINX_EXPIRES_FOUND=1
|
||||
;;
|
||||
error_log)
|
||||
# YYY Check if debug is appended
|
||||
# Check if debug is appended
|
||||
FIND=`echo ${VALUE} | awk '{ if ($2=="debug") { print 1 } else { print 0 }}'`
|
||||
if [ ${FIND} -eq 1 ]; then
|
||||
NGINX_ERROR_LOG_DEBUG=1
|
||||
fi
|
||||
# YYY Check if file exists
|
||||
# Check if log file exists
|
||||
FILE=`echo ${VALUE} | awk '{ print $1 }'`
|
||||
if [ ! "${FILE}" = "" ]; then
|
||||
if [ ! -f ${FILE} ]; then
|
||||
|
|
Loading…
Reference in New Issue