summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/changelog.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/changelog.sh b/lib/changelog.sh
index 81e3332..5733353 100644
--- a/lib/changelog.sh
+++ b/lib/changelog.sh
@@ -111,8 +111,9 @@ ${_line}"
elif [ -n "${OH_CHANGELOG_SOURCE}" ]; then
OH_CHANGELOG_MAINTAINER="${_maintainer}"
OH_CHANGELOG_DATE="${_date}"
- "${_cb}"
_entries=$(($_entries + 1))
+ "${_cb}"
+ [ ${?} -ne 0 ] && return ${_entries}
fi
_expect=NEXT_OR_EOF
_blank_lines=