mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
udevd: configure a child process name for worker processes
This commit is contained in:
parent
ae18890687
commit
49f3ee7e74
@ -534,7 +534,7 @@ static int worker_spawn(Manager *manager, struct event *event) {
|
|||||||
if (r < 0)
|
if (r < 0)
|
||||||
return log_error_errno(r, "Worker: Failed to enable receiving of device: %m");
|
return log_error_errno(r, "Worker: Failed to enable receiving of device: %m");
|
||||||
|
|
||||||
r = safe_fork(NULL, FORK_DEATHSIG, &pid);
|
r = safe_fork("(worker)", FORK_DEATHSIG, &pid);
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
event->state = EVENT_QUEUED;
|
event->state = EVENT_QUEUED;
|
||||||
return log_error_errno(r, "Failed to fork() worker: %m");
|
return log_error_errno(r, "Failed to fork() worker: %m");
|
||||||
|
Loading…
Reference in New Issue
Block a user