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:
Diffstat (limited to 'include/functions')
-rw-r--r--include/functions6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/functions b/include/functions
index 9be236a6..73878f55 100644
--- a/include/functions
+++ b/include/functions
@@ -3005,18 +3005,16 @@
else
LogText "${FUNCNAME}: checking value for application ${APP}"
LogText "${FUNCNAME}: ${OPTION} is set to ${1}"
-
-
LogText "${FUNCNAME}: check if ${1} is equal to ${2}"
- if [ "$1" == "$2" ]; then
+ if [ "$1" = "$2" ]; then
LogText "${FUNCNAME}: ${1} is equal to ${2}"
RETVAL=0
fi
if ! [ -z ${3+x} ]; then
LogText "${FUNCNAME}: ${1} is equal to ${3}"
- if [ "$2" == "$3" ]; then
+ if [ "$2" = "$3" ]; then
LogText "${FUNCNAME}: ${OPTION} is equal to ${3}"
RETVAL=1
fi