From abad64dfb5f773e183b41b4ad52a7b8ea5dafefb Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 22 Jul 2017 20:51:48 -0400 Subject: load_locale(): Add missing argument to error() --- diff --git a/src/locale.sh b/src/locale.sh index fd578ec..e0096b1 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 - error 'Cannot load locale' + error 1 'Cannot load locale' return 1 fi fi -- cgit v0.9.1