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:
authorMike Robinson <multiwebinc@users.noreply.github.com>2019-09-20 03:14:06 +0300
committerGitHub <noreply@github.com>2019-09-20 03:14:06 +0300
commit8088d0ab7746d0f1ef6ceb709406147393874584 (patch)
tree1143275199eb53b8dbf621c917c30a33bf870b40 /include/tests_ldap
parentc0f9c0ab848f21cd66e7097acc3069afba4f17d1 (diff)
Update tests_ldap
Check was backwards
Diffstat (limited to 'include/tests_ldap')
-rw-r--r--include/tests_ldap6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tests_ldap b/include/tests_ldap
index cd7be982..473d3c71 100644
--- a/include/tests_ldap
+++ b/include/tests_ldap
@@ -37,13 +37,13 @@
Register --test-no LDAP-2219 --weight L --network NO --category security --description "Check running OpenLDAP instance"
if [ ${SKIPTEST} -eq 0 ]; then
if IsRunning "slapd"; then
- Display --indent 2 --text "- Checking OpenLDAP instance" --result "${STATUS_NOT_FOUND}" --color WHITE
- LogText "Result: No running slapd process found."
- else
Display --indent 2 --text "- Checking OpenLDAP instance" --result "${STATUS_FOUND}" --color GREEN
LogText "Result: Found running slapd process"
SLAPDFOUND=1
SLAPD_RUNNING=1
+ else
+ Display --indent 2 --text "- Checking OpenLDAP instance" --result "${STATUS_NOT_FOUND}" --color WHITE
+ LogText "Result: No running slapd process found."
fi
fi
#