session: Don't print erronous warning

This commit is contained in:
Victoria Brekenfeld 2022-07-11 22:51:41 +02:00
parent 8ecc1345a6
commit 55163a3203

View file

@ -152,8 +152,9 @@ pub fn setup_socket(handle: LoopHandle<Data>, state: &State) -> Result<()> {
}
},
).with_context(|| "Failed to init the cosmic session socket source")?;
} else {
slog_scope::error!("COSMIC_SESSION_SOCK is no valid RawFd: {}", fd_num);
}
slog_scope::error!("COSMIC_SESSION_SOCK is no valid RawFd: {}", fd_num);
};
Ok(())