Fixed bug where it was reporting the number of entries with retention
[clearscm.git] / maps / lib / MAPS.pm
index d63f9b9..705196e 100644 (file)
@@ -544,6 +544,8 @@ sub CleanList(%) {
 
   return 0 unless $count;
 
+  $count = 0;
+
   my ($err, $errmsg) = $db->find($table, $condition);
 
   croak "Unable to find $params{type} entries for $condition - $errmsg" if $err;