]> git.ipfire.org Git - thirdparty/fcron.git/commitdiff
Enable log message on child task completion.
authorThibault Godouet <yo8192@users.noreply.github.com>
Wed, 1 Jan 2025 00:32:11 +0000 (00:32 +0000)
committerThibault Godouet <yo8192@users.noreply.github.com>
Wed, 1 Jan 2025 00:32:11 +0000 (00:32 +0000)
database.c

index c01ed376f3fa7355573e477c8e201340939f9c74..5c48777e20baca63e28b0d6124598b4ade8eb063 100644 (file)
@@ -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;