update: allow music_root updates to be queued
Previously only updates with subdirectories being specified could be queued. No harm in queueing full updates.
This commit is contained in:
parent
8d907fb9fa
commit
3035a3303d
|
@ -417,9 +417,8 @@ directory_update_init(char *path)
|
|||
if (progress != UPDATE_PROGRESS_IDLE) {
|
||||
unsigned next_task_id;
|
||||
|
||||
if (!path)
|
||||
return 0;
|
||||
if (update_paths_nr == ARRAY_SIZE(update_paths)) {
|
||||
if (path)
|
||||
free(path);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue