Fix variable expansion syntax in config_file function

This commit is contained in:
Michel Roegl-Brunner 2025-05-16 10:35:21 +02:00
parent 0321d3d0a4
commit f9ef70473f

View File

@ -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]}