projects
/
BackupPC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't die on full-text update errors
[BackupPC.git]
/
bin
/
BackupPC_updatedb
diff --git
a/bin/BackupPC_updatedb
b/bin/BackupPC_updatedb
index
a0d0069
..
8bf5041
100755
(executable)
--- a/
bin/BackupPC_updatedb
+++ b/
bin/BackupPC_updatedb
@@
-588,7
+588,10
@@
foreach my $host_key (@hosts) {
fmt_time($dur)
);
- hest_update($hostID, $shareID, $backupNum) if ($nf + $nd > 0);
+ if ($nf + $nd > 0) {
+ eval { hest_update($hostID, $shareID, $backupNum) };
+ warn "ERROR: $@" if $@;
+ }
}
}