diff --git a/include/functions b/include/functions index 2ce8708e..16a65b29 100644 --- a/include/functions +++ b/include/functions @@ -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: