IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28636


Ignore:
Timestamp:
Jul 8, 2010, 7:55:23 AM (16 years ago)
Author:
bills
Message:

fix undefined return value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_checkdependent.pl

    r28628 r28636  
    225225                print "chipRun state is $chip->{chip_id} is in state $chip->{state} cannot update\n";
    226226                faultJobs('stop', undef, undef, $PSTAMP_GONE);
    227                 return;
     227                return 0;
    228228            } elsif (($chip->{data_state} ne 'update') and ($chip->{data_state} ne 'full')) {
    229229                my $command = "$chiptool -setimfiletoupdate -chip_id $chip_id -class_id $chip->{class_id}";
     
    249249            print "chipRun state is $run->{chip_id} is in state $state cannot update\n";
    250250            faultJobs('stop', undef, undef, $PSTAMP_GONE);
    251             return;
     251            return 0;
    252252        }
    253253
Note: See TracChangeset for help on using the changeset viewer.