diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-17 04:32:19 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-17 04:32:19 (EDT) |
commit | 1796d747a60381a6bb57326904bef17d6230a49d (patch) | |
tree | a1d12a3333d484b239fd19d98d53fb88e9ccc357 | |
parent | 0fdf7fefe7d6450058382c5b66780c9df098d2cd (diff) |
_ob_load_internal_text_domain(): Terminate on error
-rw-r--r-- | lib/locale.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/locale.sh b/lib/locale.sh index 8c4e46d..ee37a15 100644 --- a/lib/locale.sh +++ b/lib/locale.sh @@ -150,6 +150,8 @@ _ob_load_internal_text_domain() if ! _ob_try_load_messages "${LC_MESSAGES%.*}"; then printf '%s: Error: Failed to load locale messages\n' \ "${0##*/}" >&2 + kill 0 + exit 1 # Should never be reached, but just in case fi } __init _ob_load_internal_text_domain |