inserito creazione dir config
This commit is contained in:
@@ -105,6 +105,13 @@ while ( my $line = $tail->GetLine() ) {
|
||||
. " >> Failed to create path: $outpath/SQL";
|
||||
}
|
||||
|
||||
if ( !-d "$outpath/config" ) {
|
||||
make_path "$outpath/config",
|
||||
{ mode => 0755, owner => $truser, group => $gid }
|
||||
or warn getTimeStamp("log")
|
||||
. " >> Failed to create path: $outpath/config";
|
||||
}
|
||||
|
||||
my $timestamp = getTimeStamp();
|
||||
my $dest = $outpath . "/" . $filename . "_" . $timestamp . $suffix;
|
||||
if ( !move $trfile, $dest ) {
|
||||
|
||||
Reference in New Issue
Block a user