diff options
author | Christian Pointner <equinox@helsinki.at> | 2014-06-20 18:04:34 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2014-06-20 18:04:34 (GMT) |
commit | 98a1be65db273fbf949b50909a0700ffda7b71fd (patch) | |
tree | 0e885b255c2becfbfbba8231efd9368843936f30 /rhimport-zf | |
parent | bad34ad0166f03e753905aae1bbe1cdea2d9c4f8 (diff) |
added extension check to all autoimports
Diffstat (limited to 'rhimport-zf')
-rwxr-xr-x | rhimport-zf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rhimport-zf b/rhimport-zf index c255519..c780540 100755 --- a/rhimport-zf +++ b/rhimport-zf @@ -118,7 +118,7 @@ for my $entry ($feed->entries) { if(!rhimport::check_file_extension($out_file)) { print "\n\nThe extension of the matching file '". $out_file . "' seems to be wrong - manual import necessary!!!\n"; $dbh->disconnect(); - exit 0; + exit 1; } print $regexp . ": downloading " . $entry->enclosure->url . " (" . $entry->enclosure->length . " Bytes) .. "; |