FIX(main): fix small bug in main

The bug (introduced in 2.1-2) leaded to an error in the test that evaluates forcedstatus
This commit is contained in:
Thibault Ayanides 2020-11-30 15:10:39 +01:00
parent f4e0aafacc
commit b994ca11a7

View File

@ -69,7 +69,7 @@ if ! [ -r $CIS_ROOT_DIR/etc/conf.d/$SCRIPT_NAME.cfg ] ; then
fi fi
if [ $forcedstatus = "createconfig" ]; then if [ "$forcedstatus" = "createconfig" ] ; then
debug "$CIS_ROOT_DIR/etc/conf.d/$SCRIPT_NAME.cfg has been created" debug "$CIS_ROOT_DIR/etc/conf.d/$SCRIPT_NAME.cfg has been created"
exit 0 exit 0
fi fi