mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-27 13:44:54 +00:00
cpuset: fix short_string
don't drop the next current cpu after finishing a range
This commit is contained in:
parent
457d3cd6f2
commit
9c07db40e0
@ -165,7 +165,7 @@ sub short_string {
|
|||||||
} else {
|
} else {
|
||||||
$res .= ',' if length($res);
|
$res .= ',' if length($res);
|
||||||
$res .= "$last-$next";
|
$res .= "$last-$next";
|
||||||
$last = $next = undef;
|
$last = $next = $cpu;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user