# Pastebin PZj3DJ9C zyga  …  snapd  overlord  devicestate  git diff diff --git a/overlord/devicestate/devicemgr.go b/overlord/devicestate/devicemgr.go index 45282367b8..f36bd9f896 100644 --- a/overlord/devicestate/devicemgr.go +++ b/overlord/devicestate/devicemgr.go @@ -502,7 +502,7 @@ func (m *DeviceManager) ensureInstalled() error { return nil } - if m.operatingMode != "install" { + if m.operatingMode() != "install" { return nil }