summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/changelog.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/changelog.sh b/lib/changelog.sh
index e3d45d1..28357f5 100644
--- a/lib/changelog.sh
+++ b/lib/changelog.sh
@@ -34,7 +34,10 @@ _ob_parse_changelog_error()
_ob_get_changelog_expect_str()
{
- _ob_get_msg "changelog_expect_${1}"
+ local msg_id="${1}"
+ shift 1 || _ob_abort
+
+ _ob_get_msg "changelog_expect_${msg_id}"
return 0
}