From 25eed4bdd05bcd1f6cfda81aa09ae717ecf38850 Mon Sep 17 00:00:00 2001 From: Thibault Godouet Date: Wed, 1 Jan 2025 00:32:11 +0000 Subject: [PATCH] Enable log message on child task completion. --- database.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database.c b/database.c index c01ed37..5c48777 100644 --- a/database.c +++ b/database.c @@ -565,12 +565,12 @@ wait_chld(void) if (pid == e->e_ctrl_pid) { if (e->e_line == NULL) { /* the corresponding file has been removed from memory */ - debug("Job finished: pid %d", pid); + debug("Child exited: pid %d", pid); } else { line = e->e_line; -/* debug("Job finished: %s", line->cl_shell); */ + debug("Child exited (pid %d): %s", pid, line->cl_shell); line->cl_numexe -= 1; line->cl_file->cf_running -= 1;