IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 30, 2007, 3:42:50 PM (19 years ago)
Author:
Paul Price
Message:

Core dumps weren't being caught as errors. Now they are identified as programming errors.

File:
1 edited

Legend:

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

    r11442 r11455  
    105105        run(command => $command, verbose => 1);
    106106    unless ($success) {
    107         $error_code = $error_code >> 8;
     107        $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    108108        &my_die("Unable to perform ppImage: $error_code", $det_id, $exp_tag, $class_id, $error_code);
    109109    }
     
    150150        run(command => $command, verbose => 1);
    151151    unless ($success) {
    152         $error_code = $error_code >> 8;
     152        $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    153153        warn("Unable to perform dettool -addprocessedimfile: $error_code\n");
    154154        exit($error_code);
Note: See TracChangeset for help on using the changeset viewer.