diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-08-27 10:33:58 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-08-27 10:33:58 +0400 |
| commit | dd5bcde581e7e54b318685342e7ac89b69f094d5 (patch) | |
| tree | 5c2aba0c26cf4411548b89895057594b11b1b423 /src/niri.rs | |
| parent | e09a6d6392e73d8410b177ed9307c15f97d14858 (diff) | |
| download | niri-dd5bcde581e7e54b318685342e7ac89b69f094d5.tar.gz niri-dd5bcde581e7e54b318685342e7ac89b69f094d5.tar.bz2 niri-dd5bcde581e7e54b318685342e7ac89b69f094d5.zip | |
Unset NOTIFY_SOCKET so it's not inherited
Diffstat (limited to 'src/niri.rs')
| -rw-r--r-- | src/niri.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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:?}"); }; } |
