Skip to content
Permalink
Browse files

fixed #209 broken index lock when running daemon as windows service

  • Loading branch information
tomatolog committed Feb 19, 2018
1 parent df9dc57 commit 4842b67acdd5da75672db6c08ac563b48577ddd7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/searchd.cpp
SetConsoleCtrlHandler ( CtrlHandler, TRUE );
#endif

if ( !g_bOptNoDetach && !bWatched )
if ( !g_bOptNoDetach && !bWatched && !g_bService )
{
// re-lock indexes
for ( IndexHashIterator_c it ( g_pLocalIndexes ); it.Next(); )

0 comments on commit 4842b67

Please sign in to comment.