Commit 6f755357 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor fix to last revision; changed the names in one place but not the

other!
parent 077439a9
......@@ -339,7 +339,7 @@ sub RebootNode {
# punch the power button.
#
if (WaitTillDead($pc) == 0) {
TBSetNodeEventState($pc, TBDB_EVENTTYPE_REBOOT);
TBSetNodeEventState($pc, TBDB_NODESTATE_REBOOT);
exit(0);
}
......
......@@ -202,7 +202,7 @@ foreach my $power_id (keys %outlets) {
if (!$errors) {
foreach my $node (@nodes) {
print "$node now ",($op eq "cycle" ? "rebooting" : $op),"\n";
TBSetNodeEventState($node, TBDB_EVENTTYPE_REBOOT);
TBSetNodeEventState($node, TBDB_NODESTATE_REBOOT);
}
} else {
$exitval += $errors;
......
Supports Markdown
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