Changeset 164 for trunk

Show
Ignore:
Timestamp:
06/07/10 15:14:08 (4 years ago)
Author:
depesz
Message:

Silence rmtree - disable confirmation message to be printed to screen - to make sure cron jobs with backup don't create irrelevant mails.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/omnipitr/doc/changes.pod

    r163 r164  
    11=head1 OmniPITR 
     2 
     3=head2 2010-06-07 
     4 
     5=over 
     6 
     7=item * Silence rmtree - disable confirmation message to be printed to screen - 
     8to make sure cron jobs with backup don't create irrelevant mails. 
     9 
     10=back 
    211 
    312=head2 2010-06-05 
  • trunk/omnipitr/lib/OmniPITR/Program/Backup/Master.pm

    r162 r164  
    183183    ); 
    184184    $self->log->time_finish( 'Compressing xlogs' ) if $self->verbose; 
    185     rmtree( $self->{ 'xlogs' } . '.real' ); 
     185    rmtree( $self->{ 'xlogs' } . '.real', { 'verbose' => 0 } ); 
    186186 
    187187    return; 
     
    488488    my $self = shift; 
    489489    return unless $self->{ 'temp-dir-prepared' }; 
    490     rmtree( $self->{ 'temp-dir-prepared' } ); 
     490    rmtree( $self->{ 'temp-dir-prepared' }, { 'verbose' => 0 } ); 
    491491    return; 
    492492}