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:
authormboelen <michael@cisofy.com>2015-07-22 14:44:30 +0300
committermboelen <michael@cisofy.com>2015-07-22 14:44:30 +0300
commitfd5c968d16d8ac541d4647a9c9ab2caf103a1b68 (patch)
treefea018da868c6db143db2f80221af2a5d4d4eb87
parentafaecd951297d2ad14266448f608668e7621bc50 (diff)
Cleaning up some lines
-rw-r--r--include/functions11
1 files 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