From d16b38eff83a8dca405e21e1c34205289f3d0832 Mon Sep 17 00:00:00 2001 From: mboelen Date: Mon, 21 Dec 2015 21:17:15 +0100 Subject: Rename of logtext and report functions, upcoming year change --- include/tests_kernel_hardening | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/tests_kernel_hardening') diff --git a/include/tests_kernel_hardening b/include/tests_kernel_hardening index cc82eb47..55839c85 100644 --- a/include/tests_kernel_hardening +++ b/include/tests_kernel_hardening @@ -5,7 +5,7 @@ # Lynis # ------------------ # -# Copyright 2007-2015, Michael Boelen (michael.boelen@cisofy.com) +# Copyright 2007-2016, Michael Boelen (michael.boelen@cisofy.com) # Web site: https://cisofy.com # # Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, and you are @@ -39,17 +39,17 @@ tFINDcurvalue=`${SYSCTL_READKEY} ${tFINDkey} 2> /dev/null` if [ ! "${tFINDcurvalue}" = "" ]; then if [ "${tFINDexpvalue}" = "${tFINDcurvalue}" ]; then - logtext "Result: sysctl key ${tFINDkey} contains equal expected and current value (${tFINDexpvalue})" + LogText "Result: sysctl key ${tFINDkey} contains equal expected and current value (${tFINDexpvalue})" Display --indent 4 --text "- ${tFINDkey} (exp: ${tFINDexpvalue})" --result OK --color GREEN AddHP ${tFINDhp} ${tFINDhp} else - logtext "Result: sysctl key ${tFINDkey} has a different value than expected in scan profile. Expected=${tFINDexpvalue}, Real=${tFINDcurvalue}" + LogText "Result: sysctl key ${tFINDkey} has a different value than expected in scan profile. Expected=${tFINDexpvalue}, Real=${tFINDcurvalue}" Display --indent 4 --text "- ${tFINDkey} (exp: ${tFINDexpvalue})" --result DIFFERENT --color RED AddHP 0 ${tFINDhp} N=1 fi else - logtext "Result: key ${tFINDkey} does not exist on this machine" + LogText "Result: key ${tFINDkey} does not exist on this machine" fi done @@ -66,4 +66,4 @@ wait_for_keypress # #================================================================================ -# Lynis - Copyright 2007-2015, Michael Boelen, CISOfy - https://cisofy.com +# Lynis - Copyright 2007-2016, Michael Boelen, CISOfy - https://cisofy.com -- cgit v1.2.3