about summary refs log tree commit homepage
path: root/public-inbox-mda
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-08-23 19:41:28 +0000
committerEric Wong <e@80x24.org>2015-08-23 19:41:28 +0000
commit2b1e7946abd1d589fc69b758c68497458bbf0ecf (patch)
tree0cc264eaaf2f26184a490e1265b8c34f1dec46ba /public-inbox-mda
parente9fda329d958fca206543b92bc8ebea8e91eb43a (diff)
downloadpublic-inbox-2b1e7946abd1d589fc69b758c68497458bbf0ecf.tar.gz
We must preserve the umask for the entirety of the indexing
operation, as Xapian transactions replace entire files
atomically instead of writing them in place.
Diffstat (limited to 'public-inbox-mda')
-rwxr-xr-xpublic-inbox-mda2
1 files changed, 1 insertions, 1 deletions
diff --git a/public-inbox-mda b/public-inbox-mda
index 8e98d6eb..c4822b61 100755
--- a/public-inbox-mda
+++ b/public-inbox-mda
@@ -88,7 +88,7 @@ sub do_spamc {
 sub search_index_sync {
         my ($git_dir) = @_;
         eval {
-                require PublicInbox::Search;
+                require PublicInbox::SearchIdx;
                 PublicInbox::SearchIdx->new($git_dir, 2)->index_sync;
         };
 }