mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-27 10:01:38 +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 {
|
||||
$res .= ',' if length($res);
|
||||
$res .= "$last-$next";
|
||||
$last = $next = undef;
|
||||
$last = $next = $cpu;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user