Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2014-09-19 03:19:07 +0400
committermboelen <michael@cisofy.com>2014-09-19 03:19:07 +0400
commitbba133afbb7d77f7382f98af3c3d5ab0e0bf15ca (patch)
treedfa2c6608b3ddc0302489a7ad5768ebca787709a /include
parent6b7362cefd14cfdbd5ef181a2dc9983fa46cb631 (diff)
Generic code enhancements
Diffstat (limited to 'include')
-rw-r--r--include/tests_printers_spools5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/tests_printers_spools b/include/tests_printers_spools
index 34147e85..b28d157f 100644
--- a/include/tests_printers_spools
+++ b/include/tests_printers_spools
@@ -62,8 +62,9 @@
Register --test-no PRNT-2304 --weight L --network NO --description "Check cupsd status"
if [ ${SKIPTEST} -eq 0 ]; then
logtext "Test: Checking cupsd status"
- FIND=`${PSBINARY} ax | grep "cupsd" | grep -v "grep" | grep -v apcupsd`
- if [ ! "${FIND}" = "" ]; then
+ #FIND=`${PSBINARY} ax | grep "cupsd" | grep -v "grep" | grep -v apcupsd`
+ IsRunning cupsd
+ if [ ${RUNNING} -eq 1 ]; then
Display --indent 2 --text "- Checking cups daemon" --result RUNNING --color GREEN
logtext "Result: cups daemon running"
CUPSD_RUNNING=1; PRINTING_DAEMON="cups"