diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/timeout_watchdog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/timeout_watchdog.c b/contrib/timeout_watchdog.c index 83f751fb0..4f246245b 100644 --- a/contrib/timeout_watchdog.c +++ b/contrib/timeout_watchdog.c | |||
@@ -97,6 +97,7 @@ if (child==0) | |||
97 | if (child > 0) | 97 | if (child > 0) |
98 | { | 98 | { |
99 | sleep(timeout); | 99 | sleep(timeout); |
100 | printf("Child processes were killed after timeout of %u seconds\n",timeout); | ||
100 | kill(0,SIGABRT); | 101 | kill(0,SIGABRT); |
101 | exit(1); | 102 | exit(1); |
102 | } | 103 | } |