mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-31 01:34:23 +02:00
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…
x
Reference in New Issue
Block a user