]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
exec-util: don't say sd-executor to avoid ambiguity
authorMike Yuan <me@yhndnzj.com>
Thu, 23 Nov 2023 10:09:27 +0000 (18:09 +0800)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 23 Nov 2023 11:39:07 +0000 (11:39 +0000)
We have a systemd-executor binary now.

src/shared/exec-util.c

index 852b3c0e3dd16c3df5321b1c6f1b5d64086eb3bd..c27f3a54c1e0f4962af323eb7fded018d73e353a 100644 (file)
@@ -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)