summaryrefslogtreecommitdiff
path: root/rhimport-mz
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2013-03-21 18:21:35 (GMT)
committerChristian Pointner <equinox@helsinki.at>2013-03-21 18:21:35 (GMT)
commit28642305e978c91c5ca60f99f1ff26b6944a5c1b (patch)
tree4533ecf022ff6a1cf5259c35081ae4da7526d78a /rhimport-mz
parentbd7e3f804e1230d055f818a5094ae63438531281 (diff)
clear is new file even if no additional imports
Diffstat (limited to 'rhimport-mz')
-rwxr-xr-xrhimport-mz2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhimport-mz b/rhimport-mz
index 128e076..7d26830 100755
--- a/rhimport-mz
+++ b/rhimport-mz
@@ -186,7 +186,7 @@ my $error_cb = sub {
rhimport::check_key_file() or die "Import Key not found, use rhimport-create-id to create one\n";
-my $ret;
+my $ret = 1;
my $log = rhimport::clear_carts($dbh, $group, 0);
my ($cart, $high_cart) = rhimport::get_cart_range($dbh, $group);
foreach my $file (@files) {