mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
process-util: show requested process name in the log
This is useful for debugging issues like #26474. (cherry picked from commitb9fadf2e2c
) (cherry picked from commitba1cb4156b
) (cherry picked from commit892fe5d204
) (cherry picked from commitbfbd75cf87
)
This commit is contained in:
parent
37b20aa49a
commit
9587156920
@ -1285,7 +1285,7 @@ int safe_fork_full(
|
||||
else
|
||||
pid = fork();
|
||||
if (pid < 0)
|
||||
return log_full_errno(prio, errno, "Failed to fork: %m");
|
||||
return log_full_errno(prio, errno, "Failed to fork off '%s': %m", strna(name));
|
||||
if (pid > 0) {
|
||||
/* We are in the parent process */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user