mirror of
https://github.com/ovh/debian-cis.git
synced 2025-07-14 21:02:18 +02:00
Added exit code to CIS_ROOT_DIR test def, optimized sed and sort
This commit is contained in:
@ -49,6 +49,7 @@ else
|
||||
. /etc/default/cis-hardening
|
||||
if [ -z $CIS_ROOT_DIR ]; then
|
||||
echo "No CIS_ROOT_DIR variable, aborting"
|
||||
exit 128
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user