Skip to content

Commit

Permalink
devicestate: shouldMountUbuntuSave() needs to check for m.isClassicBoot
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 committed Oct 4, 2022
1 parent d54d70b commit 8d4d6b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions overlord/devicestate/devicemgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ func (m *DeviceManager) StartUp() error {
}

func (m *DeviceManager) shouldMountUbuntuSave() bool {
// TODO: this should check DeviceCtx.IsClassicBoot() instead
if release.OnClassic {
return false
}
Expand Down

0 comments on commit 8d4d6b2

Please sign in to comment.