From: Mike Yuan Date: Thu, 23 Nov 2023 10:09:27 +0000 (+0800) Subject: exec-util: don't say sd-executor to avoid ambiguity X-Git-Tag: v255-rc4~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f9267501b13539ea1a780e4324986fa24cccb25;p=thirdparty%2Fsystemd.git exec-util: don't say sd-executor to avoid ambiguity We have a systemd-executor binary now. --- diff --git a/src/shared/exec-util.c b/src/shared/exec-util.c index 852b3c0e3dd..c27f3a54c1e 100644 --- a/src/shared/exec-util.c +++ b/src/shared/exec-util.c @@ -250,7 +250,7 @@ int execute_strv( * them to finish. Optionally a timeout is applied. If a file with the same name * exists in more than one directory, the earliest one wins. */ - r = safe_fork("(sd-executor)", FORK_RESET_SIGNALS|FORK_DEATHSIG_SIGTERM|FORK_LOG, &executor_pid); + r = safe_fork("(sd-exec-strv)", FORK_RESET_SIGNALS|FORK_DEATHSIG_SIGTERM|FORK_LOG, &executor_pid); if (r < 0) return r; if (r == 0) { @@ -258,7 +258,7 @@ int execute_strv( _exit(r < 0 ? EXIT_FAILURE : r); } - r = wait_for_terminate_and_check("(sd-executor)", executor_pid, 0); + r = wait_for_terminate_and_check("(sd-exec-strv)", executor_pid, 0); if (r < 0) return r; if (!FLAGS_SET(flags, EXEC_DIR_IGNORE_ERRORS) && r > 0)