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:
authorMichael Boelen <michael.boelen@cisofy.com>2016-07-13 12:12:31 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-07-13 12:12:31 +0300
commitf9011c43e69743648218bf677fb21d91f381dd15 (patch)
tree3fc1898df9ef8f403f7b99c17a99e82cd84eb1ca
parentdf9443d04db939d44063b940e09784ea7c49853c (diff)
Exit cleanly when displaying categories
-rw-r--r--include/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions b/include/functions
index dfa71ce1..49aa0e12 100644
--- a/include/functions
+++ b/include/functions
@@ -2482,11 +2482,11 @@
if [ ! "${INCLUDEDIR}" = "" ]; then
InsertSection "Available test categories"
for I in `ls ${INCLUDEDIR}/tests_* | xargs -n 1 basename | sed 's/tests_//' | grep -v "custom.template"`; do
- echo " - ${I}"
+ echo "${I}"
done
fi
echo ""
- exit 0
+ ExitClean
}