]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
crash-handler: Add back notice log message
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 26 Aug 2024 10:02:30 +0000 (12:02 +0200)
committerMike Yuan <me@yhndnzj.com>
Mon, 26 Aug 2024 14:36:39 +0000 (16:36 +0200)
Fixes https://github.com/systemd/systemd/pull/33959#discussion_r1730987738

src/core/crash-handler.c

index a9425c07909f78e6895347baedc3a54aff1e1fb6..68bc96e517e91d854eab9ddeca01dbba63a7a5af 100644 (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,