mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
Replace egrep pattern from 'LANGUAGE' to 'LANG' (#215)
Thanks. This fixes #213
This commit is contained in:
parent
85faaf0665
commit
b6afd93b9b
2
lynis
2
lynis
@ -99,7 +99,7 @@ Make sure to execute ${PROGRAM_NAME} from untarred directory or check your insta
|
||||
fi
|
||||
|
||||
# Auto detection of language based on locale (first two characters)
|
||||
LANGUAGE=$(locale | egrep "^LANGUAGE=" | cut -d= -f2 | cut -d_ -f1)
|
||||
LANGUAGE=$(locale | egrep "^LANG=" | cut -d= -f2 | cut -d_ -f1)
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user