Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
daemon: Always remove pending deployment before we do updates
The RT kernel switch logic operates from the *booted* deployment, not pending. I had in my head that the MCO always cleaned up pending, but due to another bug we didn't. There's no reason to leave this cleanup to a defer; do it before we do anything else. (But keep the defer because it's cleaner to *also* cleanup if we fail)
- Loading branch information