diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/tagcache.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 2882aa8b00..bf2df7cc0b 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c | |||
@@ -3807,8 +3807,11 @@ static bool check_dir(const char *dirname) | |||
3807 | 3807 | ||
3808 | /* check for a database.ignore file */ | 3808 | /* check for a database.ignore file */ |
3809 | snprintf(newpath, MAX_PATH, "%s/database.ignore", dirname); | 3809 | snprintf(newpath, MAX_PATH, "%s/database.ignore", dirname); |
3810 | if(file_exists(newpath)) | 3810 | if (file_exists(newpath)) |
3811 | { | ||
3812 | closedir(dir); | ||
3811 | return false; | 3813 | return false; |
3814 | } | ||
3812 | 3815 | ||
3813 | /* Recursively scan the dir. */ | 3816 | /* Recursively scan the dir. */ |
3814 | #ifdef __PCTOOL__ | 3817 | #ifdef __PCTOOL__ |