Replace egrep pattern from 'LANGUAGE' to 'LANG' (#215)

Thanks. This fixes #213
This commit is contained in:
Zoltan Paldi 2016-06-17 12:36:14 +01:00 committed by Michael Boelen
parent 85faaf0665
commit b6afd93b9b
1 changed files with 1 additions and 1 deletions

2
lynis
View File

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