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-05-03 13:55:23 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-05-03 13:55:23 +0300
commit062782e7a591de0f9815f1df7fde65356ed556aa (patch)
treed51e06f45366e3d3f043886a300241f2a9e55cef /include
parent7260f3030c8027fe9fb55c9fc0a8ecded7058500 (diff)
Remove blank line and space
Diffstat (limited to 'include')
-rw-r--r--include/functions10
1 files changed, 3 insertions, 7 deletions
diff --git a/include/functions b/include/functions
index 795d484e..16919eb5 100644
--- a/include/functions
+++ b/include/functions
@@ -2354,13 +2354,12 @@
local RETVAL=1
if [ "$#" -ne "2" ]; then
ReportException "${TEST_NO}" "Error in function call to ${FUNCNAME}"
- else
+ else
LogText "${FUNCNAME}: checking value for application ${APP}"
LogText "${FUNCNAME}: ${OPTION} is set to ${1}"
-
LogText "${FUNCNAME}: checking if ${1} is greater or equal ${2}"
- if [ TestCase_Equal "${1}" "${2}" ] || [ TestCase_GreaterThan "${1}" "${2}" ]; then
- RETVAL=0
+ if [ TestCase_Equal "${1}" "${2}" ] || [ TestCase_GreaterThan "${1}" "${2}" ]; then
+ RETVAL=0
fi
fi
return ${RETVAL}
@@ -2404,7 +2403,6 @@
else
LogText "${FUNCNAME}: checking value for application ${APP}"
LogText "${FUNCNAME}: ${OPTION} is set to ${1}"
-
LogText "${FUNCNAME}: checking if ${1} is less or equal ${2}"
if [ TestCase_Equal "${1}" "${2}" ] || [ TestCase_LessThan "${1}" "${2}" ]; then
LogText "${FUNCNAME}: ${1} is less than ${2}"
@@ -2415,8 +2413,6 @@
}
-
-
################################################################################
#
# Legacy functions - Do not use!