summaryrefslogtreecommitdiffstats
path: root/src/locale.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2017-07-22 20:51:48 (EDT)
committer P. J. McDermott <pj@pehjota.net>2017-07-22 20:51:48 (EDT)
commitabad64dfb5f773e183b41b4ad52a7b8ea5dafefb (patch)
treeff138a9f6eb27757459915cecabc23a1d0dc2e16 /src/locale.sh
parenta7e7aa6e58f234928e4fc940125d0f0d9b2816ed (diff)
load_locale(): Add missing argument to error()
Diffstat (limited to 'src/locale.sh')
-rw-r--r--src/locale.sh2
1 files changed, 1 insertions, 1 deletions
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