aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs
index 3d5079cc..bb5133ba 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -20,7 +20,6 @@ use std::ffi::OsString;
use backend::Backend;
use clap::Parser;
use niri::Niri;
-use sd_notify::NotifyState;
use smithay::reexports::calloop::EventLoop;
use smithay::reexports::wayland_server::{Display, DisplayHandle};
use tracing_subscriber::EnvFilter;
@@ -123,9 +122,4 @@ fn main() {
}
})
.unwrap();
-
- // Tell systemd we're stopping.
- if let Err(err) = sd_notify::notify(false, &[NotifyState::Stopping]) {
- warn!("error notifying systemd: {err:?}");
- }
}