Commit ea28187f authored by Timothy Stack's avatar Timothy Stack

Scrub the garbage out of the console tail output.

parent aed12965
......@@ -3869,6 +3869,7 @@ sub TBNodeConsoleTail ($$) {
$EUID = $UID;
open(CONTAIL, "$TB/sbin/spewconlog -l 10 $pc |");
while (<CONTAIL>) {
s/[^ -~\t\n]/./g;
print $fh "$pc: $_";
}
close(CONTAIL);
......
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