LC_ALL cannot be empty.
This commit is contained in:
parent
71dd5a5c5b
commit
1476df1e78
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ inline_doc
|
||||||
|
|
||||||
if [[ "${config_param}" = "LC_ALL" ]]; then
|
if [[ "${config_param}" = "LC_ALL" ]]; then
|
||||||
echo "`eval echo $PARAM_VALS`"
|
echo "`eval echo $PARAM_VALS`"
|
||||||
[[ -z "${!config_param}" ]] && continue
|
[[ -z "${!config_param}" ]] && echo -e "\nVariable LC_ALL cannot be empty!" && write_error_and_die
|
||||||
# See it the locale values exist on this machine
|
# See it the locale values exist on this machine
|
||||||
if [[ "`locale -a | grep -c ${!config_param}`" > 0 ]]; then
|
if [[ "`locale -a | grep -c ${!config_param}`" > 0 ]]; then
|
||||||
continue
|
continue
|
||||||
|
|
Reference in a new issue