From dd5bcde581e7e54b318685342e7ac89b69f094d5 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 27 Aug 2023 10:33:58 +0400 Subject: Unset NOTIFY_SOCKET so it's not inherited --- src/niri.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/niri.rs') diff --git a/src/niri.rs b/src/niri.rs index 9a8dcac3..a7dbfb54 100644 --- a/src/niri.rs +++ b/src/niri.rs @@ -185,7 +185,7 @@ impl Niri { zbus_conn = Some(conn); // Notify systemd we're ready. - if let Err(err) = sd_notify::notify(false, &[NotifyState::Ready]) { + if let Err(err) = sd_notify::notify(true, &[NotifyState::Ready]) { warn!("error notifying systemd: {err:?}"); }; } -- cgit