1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-03-08 13:19:05 +00:00

update build.func

This commit is contained in:
Michel Roegl-Brunner 2025-02-03 11:51:26 +01:00
parent f6c263b703
commit 451e6e31e2

View File

@ -734,8 +734,7 @@ config_file(){
fi
if [[ ! -z "$CT_ID" ]]; then
if [[ "$CT_ID" =~ ^[0-9]{3,4}-[0-9]{3,4}$ ]]; then
if [[ "$CT_ID" =~ ^([0-9]{3,4})-([0-9]{3,4})$ ]]; then
MIN_ID=${BASH_REMATCH[1]}
MAX_ID=${BASH_REMATCH[2]}