summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 104344ee59..f0cf377041 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1443,8 +1443,7 @@ void tree_flush(void)
1443 { 1443 {
1444 global_settings.dircache_size = dircache_get_cache_size(); 1444 global_settings.dircache_size = dircache_get_cache_size();
1445# ifdef HAVE_EEPROM_SETTINGS 1445# ifdef HAVE_EEPROM_SETTINGS
1446 if (dircache_is_enabled() && firmware_settings.initialized) 1446 dircache_save();
1447 dircache_save(DIRCACHE_FILE);
1448# endif 1447# endif
1449 dircache_disable(); 1448 dircache_disable();
1450 } 1449 }