summaryrefslogtreecommitdiff
path: root/src/directory.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-04-12 00:41:53 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-04-12 00:41:53 +0000
commitf74991b9fdd50310c3984d69bc5ddcf327d16c07 (patch)
tree6cb269070c36613b2438af49bc8e678f69318065 /src/directory.c
parentbbf84374a5893e076f6c1785f850f64d8fe69a3d (diff)
minor little tweak on reporting update status
git-svn-id: https://svn.musicpd.org/mpd/trunk@700 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/directory.c')
-rw-r--r--src/directory.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/directory.c b/src/directory.c
index 54fe2d6cb..41dc9a013 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -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;
}