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

    r11442 r11455  
    146146        run(command => $command, verbose => 1);
    147147    unless ($success) {
    148         $error_code = $error_code >> 8;
     148        $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    149149        &my_die("Unable to perform ppImage: $error_code", $det_id, $iter, $exp_tag, $class_id, $error_code);
    150150    }
     
    191191        run(command => $command, verbose => 1);
    192192    unless ($success) {
    193         $error_code = $error_code >> 8;
     193        $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    194194        warn("Unable to perform dettool -addresidimfile: $error_code\n");
    195195        exit($error_code);
Note: See TracChangeset for help on using the changeset viewer.