crash-handler: Add back notice log message

Fixes https://github.com/systemd/systemd/pull/33959#discussion_r1730987738
This commit is contained in:
Daan De Meyer
2024-08-26 12:02:30 +02:00
committed by Mike Yuan
parent cb1e7ab533
commit 1b275c2acd

View File

@@ -155,6 +155,8 @@ _noreturn_ static void crash(int sig, siginfo_t *siginfo, void *context) {
(void) sigaction(SIGCHLD, &sa, NULL);
if (arg_crash_shell) {
log_notice("Executing crash shell...");
pid = raw_clone(SIGCHLD);
if (pid < 0)
log_struct_errno(LOG_EMERG, errno,