chore: put systemd-homed extra support behind 'systemd' feature
This commit is contained in:
parent
8ff96e94f7
commit
b9587deadb
3 changed files with 26 additions and 10 deletions
|
|
@ -71,7 +71,7 @@ struct GreeterProxy;
|
|||
#[zbus::interface(name = "com.system76.CosmicGreeter")]
|
||||
impl GreeterProxy {
|
||||
async fn get_user_data(&mut self) -> Result<String, GreeterError> {
|
||||
let user_filter = UserFilter::new().await?;
|
||||
let user_filter = UserFilter::new().await;
|
||||
|
||||
// The pwd::Passwd method is unsafe (but not labelled as such) due to using global state (libc pwent functions).
|
||||
// To prevent issues, this should only be called once in the entire process space at a time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue