summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.sh b/src/main.sh
index 51b21ac..17cc42b 100644
--- a/src/main.sh
+++ b/src/main.sh
@@ -42,7 +42,9 @@ main()
local cmd=
local es=
- load_locale
+ if ! load_locale; then
+ return 2
+ fi
if ! get_options "${@}"; then
cmd_help_main >&2