diff options
author | P. J. McDermott <pj@pehjota.net> | 2016-01-23 14:38:30 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2016-01-23 14:38:30 (EST) |
commit | 5f5d78f778aa43497d6f86a2e49b55e3e243ce38 (patch) | |
tree | a676e2a4c30775bc61f3114abdec990147af7219 /src | |
parent | 09dd0d5b8bc87d36be4b6637666fa81d41405697 (diff) |
load_locale(): Throw an error, not a warning, on missing locale
Diffstat (limited to 'src')
-rw-r--r-- | src/locale.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale.sh b/src/locale.sh index 76d2d9b..2962b92 100644 --- a/src/locale.sh +++ b/src/locale.sh @@ -48,7 +48,7 @@ load_locale() "${LC_MESSAGES%_*}"; then if ! _try_load_locale "${localedir}" \ "${DEFAULT_LOCALE}"; then - warn 'Cannot load locale' + error 'Cannot load locale' return 1 fi fi |