Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
5af683cd
Commit
5af683cd
authored
Oct 19, 2005
by
Leigh B. Stoller
Browse files
Minor signal handling tweak.
parent
0d6416b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
event/linktest/run_linktest.pl.in
View file @
5af683cd
...
...
@@ -224,6 +224,7 @@ sub handler($)
$SIG
{
INT
}
=
'
IGNORE
';
$SIG
{
TERM
}
=
'
IGNORE
';
$SIG
{
HUP
}
=
'
IGNORE
';
sleep
(
2
);
&kill_linktest_run
;
...
...
@@ -260,6 +261,7 @@ if (($child_pid = fork())) {
#
$SIG
{
INT
}
=
\
&handler
;
$SIG
{
TERM
}
=
\
&handler
;
$SIG
{
HUP
}
=
\
&handler
;
#
# Set timeout behavior if requested.
...
...
Write
Preview
Supports
Markdown
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