aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.c
diff options
context:
space:
mode:
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;
}