IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 13, 2006, 3:34:19 PM (19 years ago)
Author:
jhoblitt
Message:

preserve exit status in END block

File:
1 edited

Legend:

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

    r10534 r10700  
    147147}
    148148
    149 END { system("sync") == 0 or die "failed to execute sync: $!" }
     149END {
     150    my $status = $?;
     151    system("sync") == 0
     152        or die "failed to execute sync: $!" ;
     153    $? = $status;
     154}
    150155
    151156__END__
Note: See TracChangeset for help on using the changeset viewer.