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>2019-07-18 12:47:24 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-07-18 12:47:24 +0300
commit4b0f5517f7986c0000d476dcbf732891f057bcd7 (patch)
tree649aea45d520968d1b5fb2b346a767d92b367ca3 /include/profiles
parentb53b894f331fa4e005ee1c255471cd4070b0c11f (diff)
Textual change
Diffstat (limited to 'include/profiles')
-rw-r--r--include/profiles3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/profiles b/include/profiles
index e27c84cd..65e3bcee 100644
--- a/include/profiles
+++ b/include/profiles
@@ -33,9 +33,8 @@
LogText "Reading profile/configuration ${PROFILE}"
- # Show deprecation message for old config entries
+ # Show deprecation message for old config entries such as 'config:' and 'apache:'
FOUND=0
- # Items such as 'config:' and 'apache:'
DATA=$(egrep "^[a-z-]{1,}:" ${PROFILE} | od -An -ta | sed 's/ /!space!/g') # od -An (no file offset), -ta (named character, to be on safe side)
if ! IsEmpty "${DATA}"; then FOUND=1; fi