From 419a457a3dabd3f4030f86aae8e082b492ec0084 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 13 Mar 2019 15:32:52 -0400 Subject: ob-*: Replace exit with return --- (limited to 'src/ob-unpacksource.sh') diff --git a/src/ob-unpacksource.sh b/src/ob-unpacksource.sh index e90c6c0..fab5659 100644 --- a/src/ob-unpacksource.sh +++ b/src/ob-unpacksource.sh @@ -135,8 +135,8 @@ main() { ob_set_text_domain 'opkbuild' - ob_init_package '..' || exit 1 - ob_parse_package_metadata -c '.opkbuild.cache' || exit 1 + ob_init_package '..' || return 1 + ob_parse_package_metadata -c '.opkbuild.cache' || return 1 if [ -d 'src' ]; then ob_info "$(ob_get_msg 'already_unpacked')" -- cgit v0.9.1