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