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

    r9446 r10700  
    7070}
    7171
    72 END { system("sync") == 0 or die "failed to execute sync: $!" }
     72END {
     73    my $status = $?;
     74    system("sync") == 0
     75        or die "failed to execute sync: $!" ;
     76    $? = $status;
     77}
Note: See TracChangeset for help on using the changeset viewer.