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-15 14:01:09 +0400
committermboelen <michael@cisofy.com>2014-09-15 14:01:09 +0400
commitc9fde8c2d11744cc0875bc3e5dd0abf096211755 (patch)
tree0997d08919db7ec4e2aa9065c3e9aaf1671c4d6f /include/tests_accounting
parent35d32fb5e40b86632677fd2256aebeddf926394a (diff)
Code cleanup and small enhancements
Diffstat (limited to 'include/tests_accounting')
-rw-r--r--include/tests_accounting12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/tests_accounting b/include/tests_accounting
index e751b059..0894ee9a 100644
--- a/include/tests_accounting
+++ b/include/tests_accounting
@@ -30,11 +30,11 @@
Register --test-no ACCT-2754 --os FreeBSD --weight L --network NO --description "Check for available FreeBSD accounting information"
if [ ${SKIPTEST} -eq 0 ]; then
if [ -f /var/account/acct ]; then
- Display --indent 2 --text "- Checking accounting information..." --result OK --color GREEN
+ Display --indent 2 --text "- Checking accounting information" --result OK --color GREEN
logtext "Result: /var/account/acct available"
AddHP 3 3
else
- Display --indent 2 --text "- Checking accounting information..." --result "NOT FOUND" --color YELLOW
+ Display --indent 2 --text "- Checking accounting information" --result "NOT FOUND" --color YELLOW
logtext "Result: No accounting information available"
logtext "Remark: Possibly there is another location where the accounting data is stored"
ReportSuggestion ${TEST_NO} "Enable process accounting"
@@ -51,19 +51,19 @@
if [ ${SKIPTEST} -eq 0 ]; then
logtext "Test: Check accounting information"
if [ -f /var/account/pacct ]; then
- Display --indent 2 --text "- Checking accounting information..." --result OK --color GREEN
+ Display --indent 2 --text "- Checking accounting information" --result OK --color GREEN
logtext "Result: /var/account/pacct available"
AddHP 3 3
elif [ -f /var/log/account/pacct ]; then
- Display --indent 2 --text "- Checking accounting information..." --result OK --color GREEN
+ Display --indent 2 --text "- Checking accounting information" --result OK --color GREEN
logtext "Result: /var/log/account/pacct available"
AddHP 3 3
elif [ -f /var/log/pacct ]; then
- Display --indent 2 --text "- Checking accounting information..." --result OK --color GREEN
+ Display --indent 2 --text "- Checking accounting information" --result OK --color GREEN
logtext "Result: /var/log/pacct available"
AddHP 3 3
else
- Display --indent 2 --text "- Checking accounting information... " --result "NOT FOUND" --color YELLOW
+ Display --indent 2 --text "- Checking accounting information" --result "NOT FOUND" --color YELLOW
logtext "Result: No accounting information available (/var/account/pacct does not exist)"
logtext "Remark: Possibly there is another location where the accounting data is stored"
ReportSuggestion ${TEST_NO} "Enable process accounting"