summaryrefslogtreecommitdiffstats
path: root/src/ob-installdocs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ob-installdocs.sh')
-rw-r--r--src/ob-installdocs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ob-installdocs.sh b/src/ob-installdocs.sh
index dfd5b70..d415909 100644
--- a/src/ob-installdocs.sh
+++ b/src/ob-installdocs.sh
@@ -29,8 +29,8 @@ main()
{
ob_set_text_domain 'opkbuild'
- ob_init_package '..'
- ob_parse_package_metadata -c '.opkbuild.cache'
+ ob_init_package '..' || exit 1
+ ob_parse_package_metadata -c '.opkbuild.cache' || exit 1
doc_pkg="$(ob_get_doc_package)"
if [ ${?} -ne 0 ]; then