From e59f223d3376b94a31131d1c5b72ea37fda47a00 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 13 Mar 2019 03:11:25 -0400 Subject: ob_substvars(), ob_init_package(): Call _ob_error_msg() --- (limited to 'lib') diff --git a/lib/control.sh b/lib/control.sh index c29d4a0..f8bad2c 100644 --- a/lib/control.sh +++ b/lib/control.sh @@ -250,7 +250,7 @@ ob_substvars() fi if [ ${depth} -ge ${_OB_SUBSTVARS_MAX_DEPTH} ]; then # Warn of possible recursion. - _ob_warn_msg 'substvar_deep_nesting' + _ob_error_msg 'substvar_deep_nesting' return 1 fi old_rhs="${rhs}" diff --git a/lib/package.sh b/lib/package.sh index 1a07019..c2ffae2 100644 --- a/lib/package.sh +++ b/lib/package.sh @@ -39,7 +39,7 @@ ob_init_package() fi if [ -z "${_OB_PACKAGE_FORMAT}" ]; then - _ob_warn_msg 'unable_to_detect_package_format' + _ob_error_msg 'unable_to_detect_package_format' return 1 fi -- cgit v0.9.1