From 052b2a496943029622869c7696b181e4ca7dd7ae Mon Sep 17 00:00:00 2001 From: SellPL Date: Thu, 1 Oct 2026 22:45:29 +0300 Subject: [PATCH] fix(daemon): call shutdown directly rather than binding a unit value Clippy's let_unit_value, caught in review of the previous commit: shutdown() returns (), so the let-binding was noise. Co-Authored-By: Claude Code --- desktop/daemon/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/daemon/src/main.rs b/desktop/daemon/src/main.rs index cebacd5..5e74121 100644 --- a/desktop/daemon/src/main.rs +++ b/desktop/daemon/src/main.rs @@ -125,7 +125,7 @@ fn main() -> ExitCode { }; println!("owning the D-Bus name; entering the event loop"); run_loop(&rx, &schedules, &usage, &context, blocker_platform_linux::Enforcement::Freeze); - let _ = backend.shutdown(); + backend.shutdown(); return ExitCode::SUCCESS; }