mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 18:55:40 +03:00
machined: prefix child process name with 'sd'
So far we followed to rule that child processes we fork off without execve() are named "(sd-xyz)", but one child process didn't follow this. Correct that.
This commit is contained in:
parent
55844aebb6
commit
f2747bf52b
@ -169,7 +169,7 @@ int bus_image_method_clone(
|
||||
if (pipe2(errno_pipe_fd, O_CLOEXEC|O_NONBLOCK) < 0)
|
||||
return sd_bus_error_set_errnof(error, errno, "Failed to create pipe: %m");
|
||||
|
||||
r = safe_fork("(imgclone)", FORK_RESET_SIGNALS, &child);
|
||||
r = safe_fork("(sd-imgclone)", FORK_RESET_SIGNALS, &child);
|
||||
if (r < 0)
|
||||
return sd_bus_error_set_errnof(error, r, "Failed to fork(): %m");
|
||||
if (r == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user