Fix variable expansion syntax in config_file function
This commit is contained in:
parent
000126e2a7
commit
0321d3d0a4
@ -781,7 +781,7 @@ config_file() {
|
||||
source "$CONFIG_FILE"
|
||||
fi
|
||||
fi
|
||||
if [[ -n "$CT_ID" ]]; then
|
||||
if [[ -n "${CT_ID}" ]]; then
|
||||
if [[ "$CT_ID" =~ ^([0-9]{3,4})-([0-9]{3,4})$ ]]; then
|
||||
MIN_ID=${BASH_REMATCH[1]}
|
||||
MAX_ID=${BASH_REMATCH[2]}
|
||||
|
Loading…
x
Reference in New Issue
Block a user