summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/control.sh2
-rw-r--r--lib/package.sh2
2 files changed, 2 insertions, 2 deletions
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