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/parameters9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/parameters b/include/parameters
index 836a6aa7..6309481d 100644
--- a/include/parameters
+++ b/include/parameters
@@ -98,7 +98,14 @@
SKIP_PLUGINS=0
RUN_TESTS=1
shift
-
+ ;;
+ *)
+ echo "${RED}Error: ${WHITE}Need a target to audit${NORMAL}"
+ echo " "
+ echo "Examples:"
+ echo "lynis audit dockerfile"
+ echo "lynis audit system"
+ ExitFatal
;;
esac
else