added humanly readable unit (b k M G)
[BackupPC.git] / bin / BackupPC_ASA_SearchUpdate
index 034642f..279b8b0 100755 (executable)
@@ -357,8 +357,6 @@ if ($opt->create) {
                $dbh->do( qq{ CREATE SEQUENCE $seq } );
        }
 
-=for later
-
        print " creating triggers ";
        $dbh->do( <<__END_OF_TRIGGER__ );
 
@@ -420,8 +418,6 @@ create trigger do_backup_backup_parts_check
 
 __END_OF_TRIGGER__
 
-=cut
-
        print "...\n";
 
        $dbh->commit;
@@ -598,8 +594,10 @@ foreach my $host_key (@hosts) {
 
                        if ($nf + $nd > 0) {
                                status "$hostname $backupNum full-text | indexing";
-                               eval { hest_update($hostID, $shareID, $backupNum) };
-                               warn "ERROR: $@" if $@;
+                               #eval { hest_update($hostID, $shareID, $backupNum) };
+                               #warn "ERROR: $@" if $@;
+                               hest_update($hostID, $shareID, $backupNum);
+                               # eval breaks our re-try logic
                        }
                }