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/profiles')
-rw-r--r--include/profiles2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/profiles b/include/profiles
index abdb33d9..60f9a707 100644
--- a/include/profiles
+++ b/include/profiles
@@ -20,7 +20,7 @@
#
Display --indent 2 --text "- Checking profile file (${PROFILE})..."
logtext "Reading profile/configuration ${PROFILE}"
- FIND=`cat ${PROFILE} | grep '^config:' | sed 's/ /!space!/g'`
+ FIND=`grep '^config:' ${PROFILE} | sed 's/ /!space!/g'`
for I in ${FIND}; do
OPTION=`echo ${I} | cut -d ':' -f2`
VALUE=`echo ${I} | cut -d ':' -f3 | sed 's/!space!/ /g'`