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>2016-07-18 20:58:32 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-07-18 20:58:32 +0300
commit7f25a1f00e10f606c008e442a6c5574ea2e82a66 (patch)
tree2a414a00fe31a37d6d9c6e19b2f487c2872b055b /include/parameters
parentd5890b8a753df6985878d4fae69c9fa5e164a2b8 (diff)
Remove colors properly with one function (contribution: Mike Slifcak at Pindrop
Diffstat (limited to 'include/parameters')
-rw-r--r--include/parameters6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/parameters b/include/parameters
index e6b27b52..f2840014 100644
--- a/include/parameters
+++ b/include/parameters
@@ -162,8 +162,8 @@
# Cronjob support
--cronjob | --cron)
CRONJOB=1
- CHECK=1; QUICKMODE=1; NEVERBREAK=1 # Use some defaults (-c, -Q, no colors)
- NORMAL=""; WARNING=""; SECTION=""; NOTICE=""; OK=""; BAD=""; CYAN=""; MAGENTA=""; PURPLE=""; YELLOW=""; WHITE=""; GREEN=""; RED="" # Remove colors
+ CHECK=1; QUICKMODE=1; COLORS=0; NEVERBREAK=1 # Use some defaults (-c, -Q, no colors)
+ RemoveColors
;;
# Perform tests with additional debugging information on screen
@@ -225,7 +225,7 @@
# Don't use colors
--no-colors | --nocolors)
COLORS=0
- BG_BLUE=""; NORMAL=""; WARNING=""; SECTION=""; NOTICE=""; OK=""; BAD=""; BLUE=""; CYAN=""; LIGHTBLUE=""; MAGENTA=""; PURPLE=""; YELLOW=""; WHITE=""; GREEN=""; RED=""
+ RemoveColors
;;
# Disable logging