diff options
author | Andres Gomez Casanova <angoca@yahoo.com> | 2017-01-16 14:03:07 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2017-01-16 14:03:07 +0300 |
commit | 145e1164be222d024b5d806dcb6c4cf015a4c2ad (patch) | |
tree | d508014ddca051434f3ae4acc60f939d813a5f74 | |
parent | d25dcd09efe52e270be8fe80771cfdc46ef5493d (diff) |
Variable name in reportWarning function (#342)
* Variable name
* Update functions
* Update functions
-rw-r--r-- | include/functions | 5 |
1 files changed, 3 insertions, 2 deletions
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: |