aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c
index 216e40422..90b7cbe8f 100644
--- a/src/update.c
+++ b/src/update.c
@@ -225,7 +225,7 @@ removeDeletedFromDirectory(struct directory *directory)
continue;
g_debug("removing directory: %s", dv->base[i]->path);
- dirvec_delete(dv, dv->base[i]);
+ delete_directory(dv->base[i]);
modified = true;
}