From fd5c968d16d8ac541d4647a9c9ab2caf103a1b68 Mon Sep 17 00:00:00 2001 From: mboelen Date: Wed, 22 Jul 2015 13:44:30 +0200 Subject: Cleaning up some lines --- include/functions | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/include/functions b/include/functions index 2245bc80..d2db98ce 100644 --- a/include/functions +++ b/include/functions @@ -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 -- cgit v1.2.3