mirror of https://github.com/CISOfy/lynis.git
Fix for language detection, unset LANG as right place
This commit is contained in:
parent
6d6781a2ae
commit
75738ceeab
|
@ -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
|
||||
|
||||
|
|
|
@ -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
5
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
|
||||
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue