diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-08-20 15:22:36 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-08-20 15:22:36 +0300 |
commit | 1823bf10400843abf280766deb639f1fff4b9808 (patch) | |
tree | 0b4f7b8d4cc0e0148e4e17da1ce090cb2211c9f5 /lynis | |
parent | c1c23a4cca3116d18e196198176ff9f6b0490a1a (diff) |
Set default language if locale command does not exist
Diffstat (limited to 'lynis')
-rwxr-xr-x | lynis | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -221,6 +221,8 @@ if [ -z "${DISPLAY_LANG}" ]; then DISPLAY_LANG=$(locale | egrep "^LANG=" | cut -d= -f2) fi + else + LANGUAGE="en" fi # Set default language: 'en' (English) if no value is set |