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-08 17:19:58 +0400
committermboelen <michael@cisofy.com>2014-09-08 17:19:58 +0400
commit310febde05de1aab13f20130f4848baf70b30163 (patch)
tree871574dd73057b83ef1d52713d6bf78aab6e4179
parent0da19d1297f34aecba87adf0896ad7c6dc158718 (diff)
Log what tests are skipped to be root-only
-rw-r--r--include/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions b/include/functions
index a8955f56..9dbee28a 100644
--- a/include/functions
+++ b/include/functions
@@ -752,7 +752,7 @@
if [ ${ROOT_ONLY} -eq 1 -a ! ${MYID} = "0" ]; then
SKIPTEST=1; SKIPREASON="This test needs root permissions"
Debug "Test ${TEST_NO} skipped as this one required root permissions to work"
- SKIPPED_TESTS_ROOTONLY="${SKIPPED_TESTS_ROOTONLY}====${TEST_NO}-${TEST_DESCRIPTION}"
+ SKIPPED_TESTS_ROOTONLY="${SKIPPED_TESTS_ROOTONLY}====${TEST_NO}:space:${TEST_DESCRIPTION}"
fi
# Skip test if it's configured in profile