corretto numero file remoti ftp
This commit is contained in:
@@ -117,7 +117,7 @@ sub matlabCalc {
|
||||
system(@args) == 0
|
||||
or die( getTimeStamp("log") . " - pid $$ >> system @args failed: $?\n" );
|
||||
} else {
|
||||
$matlab_cmd = 'matlab_' . $matlab_cmd . '.cmd';
|
||||
$matlab_cmd = 'matlab_' . uc $matlab_cmd . '.cmd';
|
||||
my @out_matlab = `ssh1 $matlab_ip 'cmd /c $matlab_cmd ' $tool`;
|
||||
if (index($out_matlab[-1], "Failure") != -1) {
|
||||
print getTimeStamp("log")
|
||||
@@ -238,7 +238,7 @@ sub trxelab {
|
||||
|
||||
print getTimeStamp("log")
|
||||
. " - pid $$ >> ftp target lists "
|
||||
. scalar $ftp->ls()
|
||||
. scalar @{ $ftp->ls() }
|
||||
. " elements.\n";
|
||||
|
||||
$ftp->quit;
|
||||
|
||||
Reference in New Issue
Block a user