diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index c3c5ce3239..5f5cb1137a 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -1348,7 +1348,8 @@ void tree_flush(void) | |||
1348 | { | 1348 | { |
1349 | global_status.dircache_size = dircache_get_cache_size(); | 1349 | global_status.dircache_size = dircache_get_cache_size(); |
1350 | # ifdef HAVE_EEPROM_SETTINGS | 1350 | # ifdef HAVE_EEPROM_SETTINGS |
1351 | dircache_save(); | 1351 | if (firmware_settings.initialized) |
1352 | dircache_save(); | ||
1352 | # endif | 1353 | # endif |
1353 | dircache_disable(); | 1354 | dircache_disable(); |
1354 | } | 1355 | } |