Commit 0873e3b5 authored by Leigh Stoller's avatar Leigh Stoller

Fix minor typo in os_load that was causing port 4 not to be reset

when loading the default image.
parent b75ac057
......@@ -326,7 +326,7 @@ foreach my $node (@nodes) {
# for the subset of slices that are written to disk.
#
my $startpart = $loadpart == 0 ? 1 : $loadpart;
my $endpart = $loadpart + $loadlen;
my $endpart = $startpart + $loadlen;
for ($i = $startpart; $i < $endpart; $i++) {
my $partname = "part${i}_osid";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment