Changeset 10609


Ignore:
Timestamp:
2005-09-21T12:40:19+12:00 (19 years ago)
Author:
kjdon
Message:

if convert doesn't work, should return -1 (tried and failed) not 0 (blocked), so that it can continue down the pipeline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/ConvertToPlug.pm

    r10592 r10609  
    357357    $conv_filename = $self->tmp_area_convert_file($output_ext, $filename);
    358358   
    359     if ("$conv_filename" eq "") {return 0;} # allows continue on errors
    360     if (! -e "$conv_filename") {return 0;} # allows continue on errors
     359    if ("$conv_filename" eq "") {return -1;} # had an error, will be passed down pipeline
     360    if (! -e "$conv_filename") {return -1;}
    361361    $self->{'conv_filename'} = $conv_filename;
    362362    $self->convert_post_process($conv_filename);
Note: See TracChangeset for help on using the changeset viewer.