diff --git a/src/PVE/CpuSet.pm b/src/PVE/CpuSet.pm index 753b3cd..7293d9b 100644 --- a/src/PVE/CpuSet.pm +++ b/src/PVE/CpuSet.pm @@ -165,7 +165,7 @@ sub short_string { } else { $res .= ',' if length($res); $res .= "$last-$next"; - $last = $next = undef; + $last = $next = $cpu; } }