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

    r11297 r11455  
    114114        cache_run(command => $command, verbose => 1);
    115115    unless ($success) {
    116         $error_code = $error_code >> 8;
     116        $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    117117        warn ("Unable to perform ppStats on exposure id $exp_tag: $error_code");
    118118        &my_die ($exp_tag, $class_id, $error_code);
     
    192192
    193193    unless ($success) {
    194         $error_code = $error_code >> 8;
     194        $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    195195        # XXX if we can't run -addprocessedimfile, we can't actually set the
    196196        # error code.
Note: See TracChangeset for help on using the changeset viewer.