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/phase2.pl

    r10534 r10700  
    112112}
    113113
    114 END { system("sync") == 0 or die "failed to execute sync: $!" }
     114END {
     115    my $status = $?;
     116    system("sync") == 0
     117        or die "failed to execute sync: $!" ;
     118    $? = $status;
     119}
    115120
    116121__END__
Note: See TracChangeset for help on using the changeset viewer.