mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Changed qdaemon test
This commit is contained in:
parent
067360db1b
commit
75c2d0ab15
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue