Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lynis
diff options
context:
space:
mode:
authorZoltan Paldi <paldi.zoltan.hu@gmail.com>2016-06-17 14:36:14 +0300
committerMichael Boelen <michael@cisofy.com>2016-06-17 14:36:14 +0300
commitb6afd93b9b52bedd581ecb66168b14adf7c72c3d (patch)
treedf1c9530e25fcb17a75f9d7067a00b874c55ca4b /lynis
parent85faaf06659473faadbaf1b60ec5194e5d9bbb31 (diff)
Replace egrep pattern from 'LANGUAGE' to 'LANG' (#215)
Thanks. This fixes #213
Diffstat (limited to 'lynis')
-rwxr-xr-xlynis2
1 files changed, 1 insertions, 1 deletions
diff --git a/lynis b/lynis
index 2b2c9d5e..dcfa2765 100755
--- a/lynis
+++ b/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)
#
#################################################################################
#