From 28642305e978c91c5ca60f99f1ff26b6944a5c1b Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 21 Mar 2013 18:21:35 +0000 Subject: clear is new file even if no additional imports 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) { -- cgit v0.10.2