diff options
author | mboelen <michael@cisofy.com> | 2014-10-21 02:03:42 +0400 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2014-10-21 02:03:42 +0400 |
commit | 75c2d0ab1582d532a1c32b7631db04add4c60931 (patch) | |
tree | dd747eb7331534ecd08801790af0627c416dbcdb | |
parent | 067360db1b3d76fef5a017d8e75133579329824d (diff) |
Changed qdaemon test
-rw-r--r-- | include/tests_printers_spools | 2 |
1 files changed, 1 insertions, 1 deletions
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 |