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/parameters12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/parameters b/include/parameters
index 6f5d37e0..978c0b01 100644
--- a/include/parameters
+++ b/include/parameters
@@ -116,14 +116,14 @@
show)
CHECK_BINARIES=0
HELPER="show"
+ LOGTEXT=0
QUIET=1
RUN_HELPERS=1
RUN_TESTS=0
RUN_UPDATE_CHECK=0
SKIP_PLUGINS=1
- LOGTEXT=0
- SHOW_TOOL_TIPS=0
SHOW_PROGRAM_DETAILS=0
+ SHOW_TOOL_TIPS=0
shift; HELPER_PARAMS="$@"
break
;;
@@ -135,12 +135,14 @@
QUIET=1
SKIP_PLUGINS=1
RUN_TESTS=0
+ RUN_UPDATE_CHECK=0
SHOW_PROGRAM_DETAILS=0
- if [ ! $2 = "" ]; then
+ SHOW_TOOL_TIPS=0
+ if [ $# -gt 1 ]; then
shift
- HELPER_PARAMS="$1 $2"
+ HELPER_PARAMS="$1"
break
- else
+ else
echo "${RED}Error: ${WHITE}Need a target for update${NORMAL}"
echo " "
echo "Examples:"