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 11:58:05 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-05-03 11:58:05 +0300
commit924e53ed76050bae9d66bcc76f6c53c917bfade0 (patch)
treeb6edaf78200b8bb2c993460d94b64a2088042637 /include/tests_logging
parent89e16443a932bf35c78713b3700e0b8a73fa4a72 (diff)
Do an earlier detection of grsecurity and store result, so tests can be simplified
Diffstat (limited to 'include/tests_logging')
-rw-r--r--include/tests_logging2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_logging b/include/tests_logging
index 19dfea0b..da9fd5bd 100644
--- a/include/tests_logging
+++ b/include/tests_logging
@@ -477,7 +477,7 @@
LogText "Test: checking deleted files that are still in use"
LSOF_GREP="WARNING|Output information"
- if [ ${GRSECFOUND} -eq 1 ]; then
+ if [ ${GRSEC_FOUND} -eq 1 ]; then
# grsecurity causes Fail2Ban to hold onto deleted in-use files in /var/tmp
LSOF_GREP="${LSOF_GREP}|fail2ban"
fi