Skip to content

Commit 0f92675

Browse files
YHNdnzjbluca
authored andcommitted
exec-util: don't say sd-executor to avoid ambiguity
We have a systemd-executor binary now.
1 parent 205a30f commit 0f92675

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shared/exec-util.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,15 +250,15 @@ int execute_strv(
250250
* them to finish. Optionally a timeout is applied. If a file with the same name
251251
* exists in more than one directory, the earliest one wins. */
252252

253-
r = safe_fork("(sd-executor)", FORK_RESET_SIGNALS|FORK_DEATHSIG_SIGTERM|FORK_LOG, &executor_pid);
253+
r = safe_fork("(sd-exec-strv)", FORK_RESET_SIGNALS|FORK_DEATHSIG_SIGTERM|FORK_LOG, &executor_pid);
254254
if (r < 0)
255255
return r;
256256
if (r == 0) {
257257
r = do_execute(paths, root, timeout, callbacks, callback_args, fd, argv, envp, flags);
258258
_exit(r < 0 ? EXIT_FAILURE : r);
259259
}
260260

261-
r = wait_for_terminate_and_check("(sd-executor)", executor_pid, 0);
261+
r = wait_for_terminate_and_check("(sd-exec-strv)", executor_pid, 0);
262262
if (r < 0)
263263
return r;
264264
if (!FLAGS_SET(flags, EXEC_DIR_IGNORE_ERRORS) && r > 0)

0 commit comments

Comments
 (0)