diff --git a/CHANGELOG.md b/CHANGELOG.md index fc7d6ac33039cdc2d4728c354ecc24fa23092912..ddaf903e7f099d574004ccf83490b8b7022e30d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixed case when updates were installed automatically, even though manual confirmation was required. +- Fix detection of delayed reboot and thus create complete notification for it. + ## [1.5.2] - 2022-03-17 ### Fixed diff --git a/svupdater/approvals.py b/svupdater/approvals.py index 9b14b2de134072e699876a95bfcc3e3885e94292..6d564c4b30c20670562d9d3fc5a62d6dcc78ea1b 100644 --- a/svupdater/approvals.py +++ b/svupdater/approvals.py @@ -81,7 +81,7 @@ def current() -> typing.Optional[ApprovalRequest]: "finished" if "finished" in (result["reboot"], cols[3].strip()) else "delayed" - if "delayd" in (result["reboot"], cols[3].strip()) + if "delayed" in (result["reboot"], cols[3].strip()) else None )