From 8b6be3f9d525b833c76ed5587139ae0152f603f2 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 22 Jul 2017 20:47:51 -0400 Subject: load_locale(): Throw an error, not a warning, on missing locale --- (limited to 'src') diff --git a/src/locale.sh b/src/locale.sh index 9924d46..fd578ec 100644 --- a/src/locale.sh +++ b/src/locale.sh @@ -50,7 +50,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 -- cgit v0.9.1