Commit 7d7ea799 authored by Sergei Golubchik's avatar Sergei Golubchik

fix "Undefined subroutine &Manager::mtr_lastlinesfromfile"

and "Undefined subroutine &Manager::move"
parent fba4abf3
......@@ -604,7 +604,7 @@ sub parse_protocol($$) {
foreach my $coref (glob("core*"), glob("*.dmp"))
{
mtr_report(" - found '$coref', moving it to '$worker_savedir'");
move($coref, $worker_savedir);
::move($coref, $worker_savedir);
}
find(
......@@ -678,7 +678,7 @@ sub parse_protocol($$) {
my $log_file_name=dirname($worker_logdir)."/".$result->{shortname}.".log";
if (-e $log_file_name) {
$result->{'logfile-failed'} = mtr_lastlinesfromfile($log_file_name, 20);
$result->{'logfile-failed'} = ::mtr_lastlinesfromfile($log_file_name, 20);
} else {
$result->{'logfile-failed'} = "";
}
......
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