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

    r11394 r11455  
    100100        run(command => $command, verbose => 1);
    101101    unless ($success) {
    102         $error_code = $error_code >> 8;
     102        $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    103103        &my_die("Unable to perform ppImage: $error_code", $det_id, $iter, $class_id, $error_code);
    104104    }
     
    145145        run(command => $command, verbose => 1);
    146146    unless ($success) {
    147         $error_code = $error_code >> 8;
     147        $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    148148        warn("Unable to perform dettool -addnormalizedimfile: $error_code\n");
    149149        exit($error_code);
Note: See TracChangeset for help on using the changeset viewer.