IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24548


Ignore:
Timestamp:
Jun 25, 2009, 11:43:25 AM (17 years ago)
Author:
jhoblitt
Message:

try to unlink files when there is an error creating them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/lib/Nebulous/Server.pm

    r24547 r24548  
    21092109    };
    21102110    if ($@) {
     2111        if (defined $uri and -e $uri->file) {
     2112            unlink($uri->file)
     2113                or $log->error("failed to unlink() $uri: $!");
     2114        }
    21112115        $log->logdie($@);
    21122116    }
Note: See TracChangeset for help on using the changeset viewer.