From e6b87cbe52ade706051e71e156bbc976c5c062f5 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 18 Mar 2019 14:21:17 -0400 Subject: _ob_validate_var_name(): Check for empty var name --- (limited to 'lib') diff --git a/lib/common.sh b/lib/common.sh index 82a4519..3da0dea 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -33,7 +33,7 @@ _ob_validate_var_name() shift 1 || _ob_abort case "${name}" in - [!a-zA-Z_]*|*[!a-zA-Z0-9_]*) + ''|[!a-zA-Z_]*|*[!a-zA-Z0-9_]*) return 1 ;; esac -- cgit v0.9.1