IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 6, 2011, 11:39:23 AM (15 years ago)
Author:
bills
Message:

don't bother checking for exisitence of recovery files just kill them
(this avoids lost nebulous instances)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/magic_destreak_revert.pl

    r32669 r32872  
    481481    foreach my $file (@_) {
    482482        next if !$file;
    483         if ($ipprc->file_exists($file)) {
    484             if (!$ipprc->file_delete($file)) {
    485                 &my_die("failed to delete recovery file $file", $magic_ds_id, $component, $PS_EXIT_UNKNOWN_ERROR);
    486             }
    487         }
     483        # don't care if this fails or not (it will fail if storage
     484        # object doesn't exist
     485        $ipprc->kill_file($file);
    488486    }
    489487}
Note: See TracChangeset for help on using the changeset viewer.