* Eliminate a race condition whereby inotify watches would not be set after the initial scan completed.

This commit is contained in:
Justin Maggard 2009-06-02 21:19:37 +00:00
parent 2155c25109
commit b08a53f3c9

View File

@ -670,6 +670,7 @@ main(int argc, char * * argv)
{
DPRINTF(E_FATAL, L_GENERAL, "ERROR: Failed to create sqlite database! Exiting...\n");
}
scanning = 1;
#if USE_FORK
if( pthread_create(&thread[0], NULL, start_scanner, NULL) )
{