mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Replace egrep pattern from 'LANGUAGE' to 'LANG' (#215)
Thanks. This fixes #213
This commit is contained in:
parent
85faaf0665
commit
b6afd93b9b
1 changed files with 1 additions and 1 deletions
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…
Reference in a new issue