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 1d7865dd68
commit 3ece442743
194 changed files with 195 additions and 19 deletions

View File

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