Fixed bug where it was reporting the number of entries with retention
[clearscm.git] / maps / bin / mapsscrub.pl
index 8ff4c51..91e77a8 100755 (executable)
@@ -119,7 +119,7 @@ while (my $rec = GetUser) {
 } # while
 
 # Now optimize the database
-if ($opts{optimized}) {
+if ($opts{optimize}) {
   OptimizeDB;
 
   $log->msg('Database optimized');