aboutsummaryrefslogtreecommitdiffstats
path: root/src/update.c
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 890612b74..9cb3739be 100644
--- a/src/update.c
+++ b/src/update.c
@@ -456,6 +456,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];