From 4ee275c2629fe81a48d5c7b7cb50bdcaf07468f0 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 01 Sep 2014 14:48:55 -0400 Subject: substvars: Pass argument to error --- 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 -- cgit v0.9.1