diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-02-20 14:04:18 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-02-21 07:27:49 +0400 |
| commit | 5b3bfd95d9fb97a5e2e5e8332881c6eed13fbaa6 (patch) | |
| tree | 32122259f774a440a8f40e59a82e3a4d39835002 | |
| parent | 1a15aa704da1d99e34869309b4d4d2df23e762f9 (diff) | |
| download | niri-5b3bfd95d9fb97a5e2e5e8332881c6eed13fbaa6.tar.gz niri-5b3bfd95d9fb97a5e2e5e8332881c6eed13fbaa6.tar.bz2 niri-5b3bfd95d9fb97a5e2e5e8332881c6eed13fbaa6.zip | |
Upgrade logs about removing env vars to warn!
These are more visible now with the --session flag.
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index a19abfa2..6b7994d0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -62,11 +62,11 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { // DISPLAY or WAYLAND_DISPLAY from our environment if they are set, since they will cause // the winit backend to be selected instead. if env::var_os("DISPLAY").is_some() { - debug!("running as a session but DISPLAY is set, removing it"); + warn!("running as a session but DISPLAY is set, removing it"); env::remove_var("DISPLAY"); } if env::var_os("WAYLAND_DISPLAY").is_some() { - debug!("running as a session but WAYLAND_DISPLAY is set, removing it"); + warn!("running as a session but WAYLAND_DISPLAY is set, removing it"); env::remove_var("WAYLAND_DISPLAY"); } |
