summaryrefslogtreecommitdiffstats
path: root/src/ob-applypatches.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ob-applypatches.sh')
-rw-r--r--src/ob-applypatches.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ob-applypatches.sh b/src/ob-applypatches.sh
index 90ccc3d..165c426 100644
--- a/src/ob-applypatches.sh
+++ b/src/ob-applypatches.sh
@@ -57,8 +57,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
apply_patches || return 1