Fix for language detection, unset LANG as right place

This commit is contained in:
Michael Boelen 2020-06-22 10:25:02 +02:00
parent 6d6781a2ae
commit 75738ceeab
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
3 changed files with 6 additions and 4 deletions

View File

@ -6,6 +6,7 @@
- BOOT-5122 - Presence check for grub.d added
- KRNL-5830 - Improved version detection for non-symlinked kernel
- Added Kali Linux
- Fix: language detection
- End-of-life database updated
- Small code enhancements

View File

@ -33,10 +33,6 @@ BIN_PATHS="/bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin \
ETC_PATHS="/etc /usr/local/etc"
# Do not use specific language, fall back to default
# Some tools with translated strings are very hard to parse
unset LANG
#
#################################################################################
#

5
lynis
View File

@ -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
#
#################################################################################
#