From: Mike Yuan Date: Sat, 25 May 2024 20:16:15 +0000 (+0800) Subject: core/exec-invoke: add a comment that acquire_home uses result from get_fixed_user X-Git-Tag: v256-rc4~121^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3a14167102ac6a38d97208e7e95706ba1d68d0f4;p=thirdparty%2Fsystemd.git core/exec-invoke: add a comment that acquire_home uses result from get_fixed_user Prompted by https://github.com/systemd/systemd/pull/33016#discussion_r1614848067 --- diff --git a/src/core/exec-invoke.c b/src/core/exec-invoke.c index e719976daa4..ee62ff3dd42 100644 --- a/src/core/exec-invoke.c +++ b/src/core/exec-invoke.c @@ -3594,7 +3594,7 @@ static int acquire_home(const ExecContext *c, const char **home, char **ret_buf) /* If WorkingDirectory=~ is set, try to acquire a usable home directory. */ - if (*home) + if (*home) /* Already acquired from get_fixed_user()? */ return 0; if (!c->working_directory_home)