* Eliminate a race condition whereby inotify watches would not be set after the initial scan completed.
This commit is contained in:
parent
2155c25109
commit
b08a53f3c9
@ -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) )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user