From: Mike Yuan Date: Mon, 10 Nov 2025 02:02:47 +0000 (+0100) Subject: notify: raise log level for safe_fork() X-Git-Tag: v259-rc1~108^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1be6068c48946547fa2b136022382a09dbddb584;p=thirdparty%2Fsystemd.git notify: raise log level for safe_fork() --- diff --git a/src/notify/notify.c b/src/notify/notify.c index 3035c9f6cfe..270d1b1f9ad 100644 --- a/src/notify/notify.c +++ b/src/notify/notify.c @@ -520,7 +520,7 @@ static int action_fork(char *const *_command) { /* stdio_fds= */ (const int[]) { -EBADF, -EBADF, STDERR_FILENO }, /* except_fds= */ NULL, /* n_except_fds= */ 0, - /* flags= */ FORK_REARRANGE_STDIO, + /* flags= */ FORK_REARRANGE_STDIO|FORK_LOG, &child); if (r < 0) return log_error_errno(r, "Failed to fork child in order to execute '%s': %m", c);