controllo doppio x corra
This commit is contained in:
@@ -91,7 +91,8 @@ while ( my $line = $tail->GetLine() ) {
|
|||||||
my @fname = ($dest);
|
my @fname = ($dest);
|
||||||
chown $uid, $gid, @fname;
|
chown $uid, $gid, @fname;
|
||||||
if ( $filename =~ m/^(\d\d_\d\d\d\d_|)(DT\d\d\d\d|LOC\d.*)$/i
|
if ( $filename =~ m/^(\d\d_\d\d\d\d_|)(DT\d\d\d\d|LOC\d.*)$/i
|
||||||
and ( $unit ne 'ID9999' ) )
|
and ( $unit ne 'ID9999' )
|
||||||
|
and ( $truser ne 'corra' ) )
|
||||||
{
|
{
|
||||||
print getTimeStamp("log")
|
print getTimeStamp("log")
|
||||||
. " >> Sender user $truser: load data into DB.\n";
|
. " >> Sender user $truser: load data into DB.\n";
|
||||||
@@ -106,7 +107,7 @@ while ( my $line = $tail->GetLine() ) {
|
|||||||
);
|
);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
if ( $truser ne 'asega' and $truser ne 'corra' ) {
|
if ( ( $truser ne 'asega' ) and ( $truser ne 'corra' ) ) {
|
||||||
print getTimeStamp("log")
|
print getTimeStamp("log")
|
||||||
. " >> Sender user $truser: duplicate as asega user -> load data into DB.\n";
|
. " >> Sender user $truser: duplicate as asega user -> load data into DB.\n";
|
||||||
my $realtruser = $truser;
|
my $realtruser = $truser;
|
||||||
|
|||||||
Reference in New Issue
Block a user