Added exit code to CIS_ROOT_DIR test def, optimized sed and sort

This commit is contained in:
thibault.dewailly
2016-04-20 11:29:44 +02:00
parent 55f9cae65c
commit c5b4aa220d
194 changed files with 195 additions and 19 deletions

View File

@ -50,6 +50,7 @@ else
. /etc/default/cis-hardening
if [ -z $CIS_ROOT_DIR ]; then
echo "No CIS_ROOT_DIR variable, aborting"
exit 128
fi
fi