mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-31 01:34:23 +02:00
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
|
- BOOT-5122 - Presence check for grub.d added
|
||||||
- KRNL-5830 - Improved version detection for non-symlinked kernel
|
- KRNL-5830 - Improved version detection for non-symlinked kernel
|
||||||
- Added Kali Linux
|
- Added Kali Linux
|
||||||
|
- Fix: language detection
|
||||||
- End-of-life database updated
|
- End-of-life database updated
|
||||||
- Small code enhancements
|
- 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"
|
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)"
|
echo "Could not find languages directory (file: ${DBDIR}/languages/en)"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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…
x
Reference in New Issue
Block a user