mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Exit cleanly when displaying categories
This commit is contained in:
parent
df9443d04d
commit
f9011c43e6
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue