From 21e5046e8cf6759ba1905c63813f71609dcc8964 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sat, 30 Mar 2013 18:18:53 -0500 Subject: [PATCH] Interruption cleanup --- bench | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bench b/bench index 2100b84..b4c7760 100755 --- a/bench +++ b/bench @@ -59,10 +59,11 @@ else . "${testfile}" setup sync - log "$(stopwatch run start)" trap "teardown" EXIT HUP INT TERM KILL + log "$(stopwatch run start)" run; result=$? log "$(stopwatch run stop) Test result ${result}" + trap - EXIT HUP INT TERM KILL teardown ) fi -- 2.42.0