mirror of
https://github.com/ovh/debian-cis.git
synced 2025-07-02 23:39:49 +02:00
Added exit code to CIS_ROOT_DIR test def, optimized sed and sort
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user