diff options
author | Zoltan Paldi <paldi.zoltan.hu@gmail.com> | 2016-06-17 14:36:14 +0300 |
---|---|---|
committer | Michael Boelen <michael@cisofy.com> | 2016-06-17 14:36:14 +0300 |
commit | b6afd93b9b52bedd581ecb66168b14adf7c72c3d (patch) | |
tree | df1c9530e25fcb17a75f9d7067a00b874c55ca4b /lynis | |
parent | 85faaf06659473faadbaf1b60ec5194e5d9bbb31 (diff) |
Replace egrep pattern from 'LANGUAGE' to 'LANG' (#215)
Thanks. This fixes #213
Diffstat (limited to 'lynis')
-rwxr-xr-x | lynis | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) # ################################################################################# # |