Upgrade logs about removing env vars to warn!
Browse files at this commit5b3bfd95d9fb97a5e2e5e8332881c6eed13fbaa6Parent: 1a15aa71 changed file +2 -2
- src/main.rs +2 -2
src/main.rsmodified+2 -2
| @@ -62,11 +62,11 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { | |||
| 62 | // DISPLAY or WAYLAND_DISPLAY from our environment if they are set, since they will cause | 62 | // DISPLAY or WAYLAND_DISPLAY from our environment if they are set, since they will cause |
| 63 | // the winit backend to be selected instead. | 63 | // the winit backend to be selected instead. |
| 64 | if env::var_os("DISPLAY").is_some() { | 64 | if env::var_os("DISPLAY").is_some() { |
| 65 | - debug!("running as a session but DISPLAY is set, removing it"); | 65 | + warn!("running as a session but DISPLAY is set, removing it"); |
| 66 | env::remove_var("DISPLAY"); | 66 | env::remove_var("DISPLAY"); |
| 67 | } | 67 | } |
| 68 | if env::var_os("WAYLAND_DISPLAY").is_some() { | 68 | if env::var_os("WAYLAND_DISPLAY").is_some() { |
| 69 | - debug!("running as a session but WAYLAND_DISPLAY is set, removing it"); | 69 | + warn!("running as a session but WAYLAND_DISPLAY is set, removing it"); |
| 70 | env::remove_var("WAYLAND_DISPLAY"); | 70 | env::remove_var("WAYLAND_DISPLAY"); |
| 71 | } | 71 | } |
| 72 | 72 | ||