Variable name in reportWarning function (#342)

* Variable name

* Update functions

* Update functions
This commit is contained in:
Andres Gomez Casanova 2017-01-16 06:03:07 -05:00 committed by Michael Boelen
parent d25dcd09ef
commit 145e1164be
1 changed files with 3 additions and 2 deletions

View File

@ -69,6 +69,7 @@
# ParseTestValues Parse a set of values
# PortIsListening Check if machine is listening on specified protocol and port
# Progress Show progress on screen
# Register Register a test (for logging and execution)
# RandomString Show a random string
# RemoveColors Reset all colors
# RemovePIDFile Remove PID file
@ -76,9 +77,9 @@
# Report Add string of data to report file
# ReportDetails Store details of tests which include smaller atomic tests in report
# ReportException Add an exception to the report file (for debugging purposes)
# ReportManual Log manual actions to report file
# ReportSuggestion Add a suggestion to report file
# ReportWarning Add a warning and priority to report file
# Register Register a test (for logging and execution)
# SafePerms Check if a directory has safe permissions
# SearchItem Search a string in a file
# ShowComplianceFinding Display a particular finding regarding compliance or a security standard
@ -2263,7 +2264,7 @@
if [ "$2" = "L" -o "$2" = "M" -o "$2" = "H" ]; then
if [ $# -ge 1 ]; then TEST="$1"; fi
if [ $# -ge 2 ]; then DETAILS="$2"; fi
if [ $# -ge 3 ]; then DESSAGE="$3"; fi
if [ $# -ge 3 ]; then MESSAGE="$3"; fi
SOLUTION="-"
else
# New style warning format: