diff options
author | P. J. McDermott <pjm@nac.net> | 2013-07-12 14:10:13 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-07-12 14:10:32 (EDT) |
commit | 87eb2fc8eda00a83bb057ee1ab9649a9a6d68627 (patch) | |
tree | 3142d9719828f3f59abc899863a2e781c5914a15 /lib/locale.sh | |
parent | a3afa98fa19677de77673416998ac0d55142f5a0 (diff) |
Use new output functions.
Diffstat (limited to 'lib/locale.sh')
-rw-r--r-- | lib/locale.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/locale.sh b/lib/locale.sh index 33245aa..9b9ccbe 100644 --- a/lib/locale.sh +++ b/lib/locale.sh @@ -42,7 +42,7 @@ load_locale() if ! _try_load_locale "${LC_MESSAGES%.*}"; then if ! _try_load_locale "${LC_MESSAGES%_*}"; then if ! _try_load_locale "${DEFAULT_LOCALE}"; then - printf 'Cannot load locale' >&2 + warn 'Cannot load locale' return 1 fi fi |