minor little tweak on reporting update status
git-svn-id: https://svn.musicpd.org/mpd/trunk@700 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
bbf84374a5
commit
f74991b9fd
|
@ -102,7 +102,9 @@ Song * getSongDetails(char * file, char ** shortnameRet,
|
|||
Directory ** directoryRet);
|
||||
|
||||
int isUpdatingDB() {
|
||||
if(directory_updatePid>0) return directory_updateJobId;
|
||||
if(directory_updatePid>0 || directory_reReadDB) {
|
||||
return directory_updateJobId;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue