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_apply.pl

    r10534 r10700  
    123123}
    124124
    125 END { system("sync") == 0 or die "failed to execute sync: $!" }
     125END {
     126    my $status = $?;
     127    system("sync") == 0
     128        or die "failed to execute sync: $!" ;
     129    $? = $status;
     130}
Note: See TracChangeset for help on using the changeset viewer.