Commit f9f0e080 authored by Mike Hibler's avatar Mike Hibler
Browse files

Gak! Typo would prevent rusage from making an immediate report

parent 5d13321d
......@@ -96,7 +96,7 @@ my %immediate = (
isalive => 1,
drift => 0,
cvsup => 0,
rsuage => 1,
rusage => 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 "hostkeys: $arg\n"
if ($debug);
my %tmccargs = ();
......
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