IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 9, 2014, 6:01:22 PM (12 years ago)
Author:
watersc1
Message:

we were using an exit instead of my_die_for_update at line 333.

File:
1 edited

Legend:

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

    r35899 r36498  
    330330            unless ($success) {
    331331                $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    332                 warn ("Unable to perform regtool -addprocessedimfile: $error_code");
    333                 exit($error_code);
     332                warn ("Unable to perform regtool -updateprocessedimfile: $error_code");
     333#                exit($error_code);
     334            &my_die_for_update("Unable to perform updateprocessedimfile",
     335                               $exp_id, $class_id, $error_code);
     336
    334337            }
    335338        } else {
     
    522525    carp($msg);
    523526    if (defined $exp_id && defined $class_id and not $no_update) {
     527        sleep(5);
    524528        my $command = "$regtool -updateprocessedimfile";
    525529        $command .= " -exp_id $exp_id";
Note: See TracChangeset for help on using the changeset viewer.