controllo doppio x corra
This commit is contained in:
@@ -90,8 +90,9 @@ while ( my $line = $tail->GetLine() ) {
|
|||||||
chmod 0664, $dest;
|
chmod 0664, $dest;
|
||||||
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