Commit f74991b9 authored by Warren Dukes's avatar Warren Dukes

minor little tweak on reporting update status

git-svn-id: https://svn.musicpd.org/mpd/trunk@700 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent bbf84374
...@@ -102,7 +102,9 @@ Song * getSongDetails(char * file, char ** shortnameRet, ...@@ -102,7 +102,9 @@ Song * getSongDetails(char * file, char ** shortnameRet,
Directory ** directoryRet); Directory ** directoryRet);
int isUpdatingDB() { int isUpdatingDB() {
if(directory_updatePid>0) return directory_updateJobId; if(directory_updatePid>0 || directory_reReadDB) {
return directory_updateJobId;
}
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment