diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-04-12 00:41:53 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-04-12 00:41:53 +0000 |
commit | f74991b9fdd50310c3984d69bc5ddcf327d16c07 (patch) | |
tree | 6cb269070c36613b2438af49bc8e678f69318065 /src/directory.c | |
parent | bbf84374a5893e076f6c1785f850f64d8fe69a3d (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.c | 4 |
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; } |