mirror of https://github.com/CISOfy/lynis.git
Changed qdaemon test
This commit is contained in:
parent
067360db1b
commit
75c2d0ab15
|
@ -218,7 +218,7 @@
|
|||
QDAEMON_CONFIG_FILE="/etc/qconfig"
|
||||
FileIsReadable ${QDAEMON_CONFIG_FILE}
|
||||
if [ ${CANREAD} -eq 1 ]; then
|
||||
FIND=`grep -cv "^\*" ${QDAEMON_CONFIG_FILE} | egrep "backend|device"`
|
||||
FIND=`grep -v "^\*" ${QDAEMON_CONFIG_FILE} | egrep "backend|device"`
|
||||
if [ ! "${FIND}" = "" ]; then
|
||||
logtext "Result: printers are defined in ${QDAEMON_CONFIG_FILE}"
|
||||
Display --indent 2 --text "- Checking /etc/qconfig file" --result FOUND --color GREEN
|
||||
|
|
Loading…
Reference in New Issue