session: Don't print erronous warning
This commit is contained in:
parent
8ecc1345a6
commit
55163a3203
1 changed files with 2 additions and 1 deletions
|
|
@ -152,8 +152,9 @@ pub fn setup_socket(handle: LoopHandle<Data>, state: &State) -> Result<()> {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
).with_context(|| "Failed to init the cosmic session socket source")?;
|
).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(())
|
Ok(())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue