summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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