Changeset 105

Show
Ignore:
Timestamp:
04/08/10 19:30:54 (4 years ago)
Author:
depesz
Message:

do not attempt to remove file, if there is no state

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/omnipitr/lib/OmniPITR/Program/Archive.pm

    r102 r105  
    106106    my $self = shift; 
    107107    remove_tree( $self->{ 'temp-dir' } ); 
    108     unlink $self->{ 'state-file' }
     108    unlink $self->{ 'state-file' } if $self->{ 'state-file' }
    109109    return; 
    110110}