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
path: root/lynis
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2020-06-22 11:25:02 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2020-06-22 11:25:02 +0300
commit75738ceeab380e852739a9b78e0d907f3e611478 (patch)
treeffb9dfd170f127800b56f03464be4b51ab234021 /lynis
parent6d6781a2ae9e57624ce834915fec6b040c5e4188 (diff)
Fix for language detection, unset LANG as right place
Diffstat (limited to 'lynis')
-rwxr-xr-xlynis5
1 files changed, 5 insertions, 0 deletions
diff --git a/lynis b/lynis
index 9b0e5894..76722baa 100755
--- a/lynis
+++ b/lynis
@@ -241,6 +241,11 @@
echo "Could not find languages directory (file: ${DBDIR}/languages/en)"
exit 1
fi
+
+ # Now that we have determined the language, we unset it from shell
+ # Some tools with translated strings are very hard to parse
+ unset LANG
+
#
#################################################################################
#