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:
Diffstat (limited to 'plugins/custom_plugin.template')
-rw-r--r--plugins/custom_plugin.template4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/custom_plugin.template b/plugins/custom_plugin.template
index 8890cec1..72ce3ce0 100644
--- a/plugins/custom_plugin.template
+++ b/plugins/custom_plugin.template
@@ -62,7 +62,7 @@
# Check if a directory exists
if [ -d ${DIR} ]; then
LogText "Result: log entry for easier debugging or additional information"
- else
+ else
FOUNDPROBLEM=1
LogText "Result: directory ${DIR} was not found!"
ReportWarning "${TEST_NO}" "This is a test warning line" "${DIR}" "text:Create directory ${DIR}"
@@ -70,7 +70,7 @@
if [ ${FOUNDPROBLEM} -eq 0 ]; then
Display --indent 2 --text "- Checking if everything is OK..." --result OK --color GREEN
- else
+ else
Display --indent 2 --text "- Checking if everything is OK..." --result WARNING --color RED
ReportSuggestion ${TEST_NO} "This is a suggestion"
fi