代码拉取完成,页面将自动刷新
同步操作将从 yangshicheng/systemd 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 00eff1d423d2cb336d1e378cc8f348d2d19c2ed4 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Tue, 31 Aug 2021 10:47:29 +0200
Subject: [PATCH] homed: add missing SYNTHETIC_ERRNO()
(cherry picked from commit 9191142ddfb3ccd2007245c01197d3f42943815c)
Conflict:NA
Reference:https://github.com/systemd/systemd/commit/00eff1d423d2cb336d1e378cc8f348d2d19c2ed4
---
src/home/homework-cifs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/home/homework-cifs.c b/src/home/homework-cifs.c
index a697f7e5ee..04a4db8a94 100644
--- a/src/home/homework-cifs.c
+++ b/src/home/homework-cifs.c
@@ -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);
}
--
2.33.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。