Corrected default file path

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

View File

@ -54,11 +54,11 @@ while [[ $# > 0 ]]; do
done
# 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