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 = ( ...@@ -96,7 +96,7 @@ my %immediate = (
isalive => 1, isalive => 1,
drift => 0, drift => 0,
cvsup => 0, cvsup => 0,
rsuage => 1, rusage => 1,
hkeys => 1, hkeys => 1,
); );
...@@ -463,14 +463,15 @@ sub setintervals($) ...@@ -463,14 +463,15 @@ sub setintervals($)
logmsg("setintervals: descheduling $key\n"); logmsg("setintervals: descheduling $key\n");
qdelete($funcs{$key}); qdelete($funcs{$key});
} elsif ($firsttime || $oiv{$key} == 0) { } elsif ($firsttime || $oiv{$key} == 0) {
logmsg("setintervals: scheduling $key\n");
# #
# Some commands need to be run at boottime, # Some commands need to be run at boottime,
# schedule their first run immediately. # schedule their first run immediately.
# #
if ($firsttime && $immediate{$key}) { if ($firsttime && $immediate{$key}) {
logmsg("setintervals: scheduling $key now\n");
qinsert($curtime, $funcs{$key}); qinsert($curtime, $funcs{$key});
} else { } else {
logmsg("setintervals: scheduling $key\n");
qinsert($curtime + $iv{$key}, $funcs{$key}); qinsert($curtime + $iv{$key}, $funcs{$key});
} }
} else { } else {
...@@ -706,7 +707,7 @@ sub sendhkeys($) ...@@ -706,7 +707,7 @@ sub sendhkeys($)
} }
if ($arg ne "") { if ($arg ne "") {
print "nodeinfo: keys: $arg\n" print "hostkeys: $arg\n"
if ($debug); if ($debug);
my %tmccargs = (); 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