Skip to content

Commit

Permalink
Fix: Typo in Sprintf function
Browse files Browse the repository at this point in the history
  • Loading branch information
matbme committed Aug 9, 2023
1 parent c125675 commit ea6b724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ mount -o bind,ro /.system/usr /usr
mountExtCmd := ""
if strings.HasPrefix(s.RootM.VarPartition.Device, "luks-") {
parent := s.RootM.VarPartition.Parent
mountExtCmd = fmt.Sprintln("/dev/mapper/luks-%s", parent.Uuid)
mountExtCmd = fmt.Sprintf("/dev/mapper/luks-%s", parent.Uuid)
} else {
mountExtCmd = fmt.Sprintf("-U %s", s.RootM.VarPartition.Uuid)
}
Expand Down

0 comments on commit ea6b724

Please sign in to comment.