From: Thibault Godouet Date: Wed, 1 Jan 2025 00:32:11 +0000 (+0000) Subject: Enable log message on child task completion. X-Git-Tag: ver3_3_3~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25eed4bdd05bcd1f6cfda81aa09ae717ecf38850;p=thirdparty%2Ffcron.git Enable log message on child task completion. --- 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;