HM:
Hi Team,
The lab “RUN CIS BENCHMARK ASSESSMENT TOOL ON UBUNTU”
Assessor-CLI.sh is not working.
root@controlplane:~/Assessor-CLI# sh ./Assessor-CLI.sh
./Assessor-CLI.sh: 38: ./Assessor-CLI.sh: Syntax error: end of file unexpected (expecting "fi")
root@controlplane:~/Assessor-CLI# tail -10 Assessor-CLI.sh
echo ""
echo "You must use Java 1.8.x, or higher. The most recent version of Java is recommended."
exit 1;
fi
if [ $DEBUG -eq "1" ]; then
echo "Executing CIS-CAT Pro Assessor from $SCRIPTPATH"
$JAVA -Xmx${MAX_RAM_IN_MB}M -jar $SCRIPTPATH/Assessor-CLI.jar "$@" --verbose
else
$JAVA -Xmx${MAX_RAM_IN_MB}M -jar $SCRIPTPATH/Assessor-CLI.jar "$@"
root@controlplane:~/Assessor-CLI#