From a0db3a63e8f5f5796db3f4a631e6caca6432b791 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 23 Jan 2016 14:41:04 -0500 Subject: main(): Exit on missing locale --- (limited to 'src') 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 -- cgit v0.9.1