IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 11, 2007, 3:55:49 PM (19 years ago)
Author:
jhoblitt
Message:

attempt to update to the 'new' p0tool fault semantics

File:
1 edited

Legend:

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

    r11049 r11051  
    7777my $ppStats = can_run('ppStats')
    7878    or (warn "can't find ppStats" and $missing_tools = 1);
     79
    7980if ($missing_tools) {
    8081    warn ("Can't find required tools");
    81     &my_die ("", $PS_EXIT_CONFIG_ERROR);
     82    exit($PS_EXIT_CONFIG_ERROR);
    8283}
    8384
     
    199200    unless ($success) {
    200201        warn ("Unable to run phase0 update for $exptag: $error_code");
    201         &my_die ($exptag, $error_code);
     202        exit($error_code);
    202203    }
    203204}
     
    238239    my $exit_code = $_[1];
    239240    if ($exp_tag) {
    240         system ("$p0tool -faultexp -exp_tag $exp_tag -code $exit_code");
     241        system ("$p0tool -addprocessedexp -exp_tag $exp_tag -code $exit_code");
    241242    }
    242243    exit $exit_code;
Note: See TracChangeset for help on using the changeset viewer.