mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
homed: add missing SYNTHETIC_ERRNO()
This commit is contained in:
parent
e070b9eac9
commit
9191142ddf
@ -86,7 +86,8 @@ int home_prepare_cifs(
|
||||
}
|
||||
|
||||
if (!mounted)
|
||||
return log_error_errno(ENOKEY, "Failed to mount home directory with supplied password.");
|
||||
return log_error_errno(SYNTHETIC_ERRNO(ENOKEY),
|
||||
"Failed to mount home directory with supplied password.");
|
||||
|
||||
setup->root_fd = open("/run/systemd/user-home-mount", O_RDONLY|O_CLOEXEC|O_DIRECTORY|O_NOFOLLOW);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user