don't eval full-text update, it breaks our re-try logic
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 27 Jan 2011 23:58:40 +0000 (00:58 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 27 Jan 2011 23:58:40 +0000 (00:58 +0100)
bin/BackupPC_ASA_SearchUpdate

index 034642f..2a93dcd 100755 (executable)
@@ -598,8 +598,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
                        }
                }