diff --git a/include/tests_printers_spools b/include/tests_printers_spools index 6aaf0a2a..7a58621b 100644 --- a/include/tests_printers_spools +++ b/include/tests_printers_spools @@ -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