diff options
Diffstat (limited to 'lib/substvars.sh')
-rw-r--r-- | lib/substvars.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/substvars.sh b/lib/substvars.sh index 5ef662b..d69c693 100644 --- a/lib/substvars.sh +++ b/lib/substvars.sh @@ -32,7 +32,8 @@ set_substvar() name="$(printf '%s\n' "${name}" | tr 'A-Z-' 'a-z_')" case "${name:- }" in *[!a-z0-9_]*) - error 2 "$(get_msg 'substvar_invalid')" "${name}" + warn "$(get_msg 'substvar_invalid')" "${name}" + return 1 ;; esac |