Skip to content
GitLab
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
f9f0e080
Commit
f9f0e080
authored
Mar 23, 2004
by
Mike Hibler
Browse files
Gak! Typo would prevent rusage from making an immediate report
parent
5d13321d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/common/watchdog
View file @
f9f0e080
...
...
@@ -96,7 +96,7 @@ my %immediate = (
isalive
=>
1
,
drift
=>
0
,
cvsup
=>
0
,
r
s
uage
=>
1
,
ru
s
age
=>
1
,
hkeys
=>
1
,
);
...
...
@@ -463,14 +463,15 @@ sub setintervals($)
logmsg
("
setintervals: descheduling
$key
\n
");
qdelete
(
$funcs
{
$key
});
}
elsif
(
$firsttime
||
$oiv
{
$key
}
==
0
)
{
logmsg
("
setintervals: scheduling
$key
\n
");
#
# Some commands need to be run at boottime,
# schedule their first run immediately.
#
if
(
$firsttime
&&
$immediate
{
$key
})
{
logmsg
("
setintervals: scheduling
$key
now
\n
");
qinsert
(
$curtime
,
$funcs
{
$key
});
}
else
{
logmsg
("
setintervals: scheduling
$key
\n
");
qinsert
(
$curtime
+
$iv
{
$key
},
$funcs
{
$key
});
}
}
else
{
...
...
@@ -706,7 +707,7 @@ sub sendhkeys($)
}
if
(
$arg
ne
"")
{
print
"
nodeinfo:
keys:
$arg
\n
"
print
"
host
keys:
$arg
\n
"
if
(
$debug
);
my
%tmccargs
=
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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