Initialize variable and unset at end

This commit is contained in:
Michael Boelen 2016-07-30 16:41:57 +02:00
parent 95b24f074f
commit 15e364eae6
1 changed files with 2 additions and 0 deletions

View File

@ -275,6 +275,7 @@
Register --test-no SHLL-6290 --weight H --network NO --category security --description "Perform Shellshock vulnerability tests"
if [ ${SKIPTEST} -eq 0 ]; then
FOUND=0
x=""
#Display --indent 2 --text "- Testing for Shellshock vulnerability"
LogText "Test: Check if bash is in the list of shells."
if [ -f /etc/shells ]; then
@ -396,6 +397,7 @@
else
AddHP 5 5
fi
unset x
fi
#
#################################################################################