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/profiles')
-rw-r--r--include/profiles4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/profiles b/include/profiles
index 89bd26a5..e0182f03 100644
--- a/include/profiles
+++ b/include/profiles
@@ -139,7 +139,9 @@
# Language
language | lang)
LogText "Language set via profile to ${VALUE}"
- LANGUAGE="${VALUE}"
+ if [ ! -z "${VALUE}" ]; then
+ LANGUAGE="${VALUE}"
+ fi
AddSetting "language" "${LANGUAGE}" "Language"
;;