Corrected default file path

This commit is contained in:
thibault.dewailly
2016-04-18 17:39:14 +02:00
parent b74a5fe19e
commit e9487bfb04
193 changed files with 579 additions and 579 deletions

View File

@ -27,11 +27,11 @@ check_config() {
}
# Source Root Dir Parameter
if [ ! -r /etc/default/cis-hardenning ]; then
echo "There is no /etc/default/cis-hardenning file, cannot source CIS_ROOT_DIR variable, aborting"
if [ ! -r /etc/default/cis-hardening ]; then
echo "There is no /etc/default/cis-hardening file, cannot source CIS_ROOT_DIR variable, aborting"
exit 128
else
. /etc/default/cis-hardenning
. /etc/default/cis-hardening
if [ -z $CIS_ROOT_DIR ]; then
echo "No CIS_ROOT_DIR variable, aborting"
fi