Changeset 1691 for trunk/gsdl/perllib


Ignore:
Timestamp:
2000-11-22T16:39:05+13:00 (24 years ago)
Author:
jrm21
Message:

return "" instead of exit 1 on error. This means that if 1 file doesn't
work, RECPlug can do the rest of the directory/ies.

File:
1 edited

Legend:

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

    r1446 r1691  
    155155    if ($output_type eq "fail") {
    156156    print STDERR "Could not convert $tailname$suffix to $convert_to format\n";
    157     exit 1;
     157    return "";
     158### exit 1;
    158159    }
    159160
     
    192193    my $output_ext = $self->{'convert_to_ext'};
    193194    my $conv_filename = $self->tmp_area_convert_file($output_ext,$src_filename);
     195    if ("$conv_filename" eq "") {return "";} # allows continue on errors
    194196    $self->{'conv_filename'} = $conv_filename;
    195197
Note: See TracChangeset for help on using the changeset viewer.