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:
Diffstat (limited to 'include/parameters')
-rw-r--r--include/parameters5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/parameters b/include/parameters
index f3845526..53eeecb3 100644
--- a/include/parameters
+++ b/include/parameters
@@ -36,12 +36,13 @@
if [ $# -gt 1 ]; then
case $2 in
"dockerfile")
- if [ "$3" = "" ]; then
+ if [ $# = 2 ]; then
echo "${RED}Error: ${WHITE}Missing file name or URL${NORMAL}"
- echo "Example: $0 audit dockerfile /root/Dockerfile"
+ echo "Example: $0 audit dockerfile /path/to/Dockerfile"
ExitFatal
else
shift; shift
+ CHECK_BINARIES=1
HELPER_PARAMS="$1"
HELPER="audit_dockerfile"
break