summaryrefslogtreecommitdiff
path: root/runner
diff options
context:
space:
mode:
authorArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-06-14 11:08:16 +0300
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-06-24 13:18:27 +0300
commit895986f591e56dd0215a2759a5cdc2fdac5ba783 (patch)
treed94d8b034da6fa90ece5e9a0bf6d4da5ab334abb /runner
parent9dbef435f3de55cc80ec7b4334ee6c3c802f7a43 (diff)
runner: Log which signal was used to terminate the runner
Feed the curious ones, aid the troubleshooters. Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Simon Ser <simon.ser@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'runner')
-rw-r--r--runner/executor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/runner/executor.c b/runner/executor.c
index cc313dec..39dee8c0 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -738,7 +738,8 @@ static int monitor_output(pid_t child,
} else {
/* We're dying, so we're taking them with us */
if (settings->log_level >= LOG_LEVEL_NORMAL)
- printf("Abort requested, terminating children\n");
+ printf("Abort requested via %s, terminating children\n",
+ strsignal(siginfo.ssi_signo));
aborting = true;
timeout = 2;