aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/update.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/update.c b/src/update.c
index 34ec1ba77..f5619a1d4 100644
--- a/src/update.c
+++ b/src/update.c
@@ -438,6 +438,9 @@ void reap_update_task(void)
assert(pthread_equal(pthread_self(), main_task));
+ if (progress == UPDATE_PROGRESS_IDLE)
+ return;
+
cond_enter(&delete_cond);
if (delete) {
char tmp[MPD_PATH_MAX];