summaryrefslogtreecommitdiffstats
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c
index 6360267243..f86d91e42e 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -597,7 +597,7 @@ static void init(void)
CHART("<init_dircache(true)");
#ifdef HAVE_TAGCACHE
if (rc < 0)
- remove(TAGCACHE_STATEFILE);
+ tagcache_remove_statefile();
#endif /* HAVE_TAGCACHE */
#endif /* HAVE_DIRCACHE */