Skip to content

Commit

Permalink
fix partition sector start
Browse files Browse the repository at this point in the history
Signed-off-by: walkerus <zfirewolfz@yandex.ru>
  • Loading branch information
walkerus committed Sep 13, 2023
1 parent f86d68f commit 3a92ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/rootio/v1/pkg/storage/partition.go
Expand Up @@ -90,7 +90,7 @@ func Partition(d types.Disk) error {
End: sectorEnd,
}

sectorStart += sectorEnd
sectorStart = sectorEnd + 1

switch d.Partitions[x].Label {
case "SWAP":
Expand Down

0 comments on commit 3a92ad7

Please sign in to comment.