index: print log message when interrupted by stop file presence

This commit is contained in:
Jean-Francois Dockes 2019-03-12 18:12:35 +01:00
parent 3e8d7dc004
commit 42d8a24a49

View File

@ -147,6 +147,8 @@ class MyUpdater : public DbIxStatusUpdater {
m_file.holdWrites(false); m_file.holdWrites(false);
} }
if (path_exists(m_stopfilename)) { if (path_exists(m_stopfilename)) {
LOGINF("recollindex: asking indexer to stop because " <<
m_stopfilename << " exists\n");
unlink(m_stopfilename.c_str()); unlink(m_stopfilename.c_str());
stopindexing = true; stopindexing = true;
} }