Commit 30e13688 authored by Mac Newbold's avatar Mac Newbold

Make sure _all_ the mail we send has node names in it...

parent c44540fd
......@@ -437,7 +437,7 @@ sub stateTransition($$) {
handleCtrlEvent($node,$trig);
next;
};
notify("Unknown trigger '$trig' in $mode/$newstate!\n");
notify("Unknown trigger '$trig' for $node in $mode/$newstate!\n");
}
}
......@@ -484,11 +484,11 @@ sub opModeTransition($$) {
if (defined($trans{$newmode})) {
$nextstate=$trans{$newmode};
} else {
notify("Invalid mode transition from ".
notify("Invalid mode transition for $node from ".
"$mode/$oldstate to $newmode!\n");
}
} else {
notify("Invalid mode transition from $mode/$oldstate: ".
notify("Invalid mode transition for $node from $mode/$oldstate: ".
"Not a valid mode transition state!\n");
}
if (!$nextstate) { $nextstate=$oldstate; }
......
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