"git@developer.sourcefind.cn:gaoqiong/composable_kernel.git" did not exist on "8ce8f734ae845507c68a1e1990409d7f8beac8e1"
Commit d7bf26a7 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

experiments: fail experiment on sigint

parent 18023fff
...@@ -253,4 +253,10 @@ cleanup() { ...@@ -253,4 +253,10 @@ cleanup() {
date >>$OUTDIR/endtime date >>$OUTDIR/endtime
} }
trap "cleanup" SIGINT sighandler() {
echo "Caught Interrupt, aborting...."
cleanup
exit 1
}
trap "sighandler" SIGINT
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment