From 75c2d0ab1582d532a1c32b7631db04add4c60931 Mon Sep 17 00:00:00 2001 From: mboelen Date: Tue, 21 Oct 2014 00:03:42 +0200 Subject: [PATCH] Changed qdaemon test --- include/tests_printers_spools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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