Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
d7bf26a7
Commit
d7bf26a7
authored
Sep 14, 2020
by
Antoine Kaufmann
Browse files
experiments: fail experiment on sigint
parent
18023fff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
experiments/common-functions.sh
experiments/common-functions.sh
+7
-1
No files found.
experiments/common-functions.sh
View file @
d7bf26a7
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment