IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

preserve exit status in END block

File:
1 edited

Legend:

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

    r9457 r9491  
    146146}
    147147
    148 END { system("sync") == 0 or die "failed to execute sync: $!" }
     148END {
     149    my $exit = $?;
     150    system("sync") == 0 or die "failed to execute sync: $!";
     151    $? = $exit;
     152}
    149153
    150154__END__
Note: See TracChangeset for help on using the changeset viewer.