summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/substvars.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/substvars.sh b/lib/substvars.sh
index ac3d29b..ee7e860 100644
--- a/lib/substvars.sh
+++ b/lib/substvars.sh
@@ -32,7 +32,7 @@ set_substvar()
name="$(echo "${name}" | tr 'A-Z-' 'a-z_')"
case "${name:- }" in
*[!a-z0-9_]*)
- error 2 "$(get_msg 'substvar_invalid')"
+ error 2 "$(get_msg 'substvar_invalid')" "${name}"
;;
esac