IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9492


Ignore:
Timestamp:
Oct 11, 2006, 3:08:29 PM (20 years ago)
Author:
jhoblitt
Message:

propegate exit value in END block

File:
1 edited

Legend:

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

    r9475 r9492  
    1010use PS::IPP::Metadata::Config;
    1111use PS::IPP::Metadata::Stats;
     12use Storabe qw( freeze thaw );
    1213use Data::Dumper;
    1314
     
    124125# Pau.
    125126
    126 END { system("sync") == 0 or die "failed to execute sync: $!" }
     127END {
     128    my $exit = $?;
     129    system("sync") == 0 or die "failed to execute sync: $!";
     130    $? = $exit;
     131}
    127132
    128133__END__
Note: See TracChangeset for help on using the changeset viewer.