summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-14 13:43:22 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-14 13:43:22 (EDT)
commit5e2794ab4741face2e064e5a6d6aecade59bed27 (patch)
tree6915a2df2c8cff6f7a98bbcab4dd83d5a16066ad
parentcc38daccc0e83bd521ce4b8eb68b1d7e6a9e822b (diff)
main(): Return 1 if load_ocale() fails
-rw-r--r--src/main.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.sh b/src/main.sh
index 0c4ca77..8e19665 100644
--- a/src/main.sh
+++ b/src/main.sh
@@ -69,7 +69,7 @@ main()
builddir=''
fi
- load_locale
+ load_locale || return 1
_get_options "${@}"
shift $((${OPTIND} - 1))