mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-02 21:49:42 +00:00
fix #4784: helpers: cope with native versions in manager version check
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
5854213953
commit
9c6eabf028
@ -178,7 +178,7 @@ sub pvecfg_min_version {
|
||||
|
||||
return 0 if !$verstr;
|
||||
|
||||
if ($verstr =~ m/^(\d+)\.(\d+)-(\d+)/) {
|
||||
if ($verstr =~ m/^(\d+)\.(\d+)[.-](\d+)/) {
|
||||
return 1 if version_cmp($1, $major, $2, $minor, $3, $release) >= 0;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user