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:
Warren Dukes 2004-04-12 00:41:53 +00:00
parent bbf84374a5
commit f74991b9fd
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}