mirror of https://github.com/CISOfy/lynis.git
Changed sed statement
This commit is contained in:
parent
95d5cabdb2
commit
de60926705
|
@ -254,7 +254,7 @@
|
|||
COUNT=0
|
||||
# Check configuration options (options start with a capital)
|
||||
logtext "Test: searching configured options in ${PACMANCONF}"
|
||||
FIND=`grep "^[A-Z]" ${PACMANCONF} | sort | uniq | sed 's/ /:space://g'`
|
||||
FIND=`grep "^[A-Z]" ${PACMANCONF} | sort | uniq | sed 's/ /:space:/g'`
|
||||
for I in ${FIND}; do
|
||||
PMOPTION=`echo ${I} | sed 's/:space:/ /g' | ${AWKBINARY} -F= '{ print $1 }'`
|
||||
PMVALUE=`echo ${I} | sed 's/:space:/ /g' | ${AWKBINARY} -F= '{ print $2 }'`
|
||||
|
|
Loading…
Reference in New Issue