summaryrefslogtreecommitdiff
path: root/runner
diff options
context:
space:
mode:
Diffstat (limited to 'runner')
-rw-r--r--runner/executor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/runner/executor.c b/runner/executor.c
index 28b8a443..790f99db 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -1054,6 +1054,10 @@ static int monitor_output(pid_t child,
"but we didn't get informed of its demise...\n");
}
+ dump_dmesg(kmsgfd, outputs[_F_DMESG]);
+ if (settings->sync)
+ fdatasync(outputs[_F_DMESG]);
+
close_watchdogs(settings);
free(outbuf);
close(outfd);