Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2017-04-30 18:59:35 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2017-04-30 18:59:35 +0300
commit4ecb9d4d05124b813cd4d7ddcaf5671c2f4c4765 (patch)
tree282f5a4e9e3530ada04d00bda3e8ac118cf70bbd /include/parameters
parent5ccd0912cf74f5d3dd07e5ed5fe0e6a30571fbb5 (diff)
[bulk change] cleaning up, code enhancements, initialization of variables, and new tests
Diffstat (limited to 'include/parameters')
-rw-r--r--include/parameters12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/parameters b/include/parameters
index 1b095fab..238f1c8d 100644
--- a/include/parameters
+++ b/include/parameters
@@ -40,7 +40,7 @@
echo "${RED}Error: ${WHITE}Missing file name or URL${NORMAL}"
echo "Example: $0 audit dockerfile /root/Dockerfile"
ExitFatal
- else
+ else
shift; shift
HELPER_PARAMS="$1"
HELPER="audit_dockerfile"
@@ -55,7 +55,7 @@
echo "${RED}Error: ${WHITE}Missing remote location${NORMAL}"
echo "Example: $0 audit system remote 192.168.1.100"
ExitFatal
- else
+ else
REMOTE_TARGET="$3"
shift; shift; shift # shift out first three arguments
EXTRA_PARAMS=""
@@ -88,7 +88,7 @@
;;
esac
- else
+ else
echo "${RED}Error: ${WHITE}Need a target to audit${NORMAL}"
echo " "
echo "Examples:"
@@ -232,8 +232,8 @@
--tests
--upload
--version_(-V)"
- for I in ${OPTIONS}; do
- echo "${I}" | tr '_' ' '
+ for ITEM in ${OPTIONS}; do
+ echo "${ITEM}" | tr '_' ' '
done
ExitClean
;;
@@ -386,7 +386,7 @@
if [ -f lynis.8 ]; then
nroff -man lynis.8
exit 0
- else
+ else
echo "Error: man page file not found (lynis.8)"
echo "If you are running an installed version of Lynis, use 'man lynis'"
exit 1