From 87eb2fc8eda00a83bb057ee1ab9649a9a6d68627 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 12 Jul 2013 14:10:13 -0400 Subject: Use new output functions. --- (limited to 'lib/locale.sh') 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 -- cgit v0.9.1