diff options
Diffstat (limited to 'apps/tagcache.c')
| -rw-r--r-- | apps/tagcache.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 91220a3..2882aa8 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -3807,12 +3807,8 @@ static bool check_dir(const char *dirname) /* check for a database.ignore file */ snprintf(newpath, MAX_PATH, "%s/database.ignore", dirname); - len = open(newpath, O_RDONLY); - if (len >= 0) - { - close(len); + if(file_exists(newpath)) return false; - } /* Recursively scan the dir. */ #ifdef __PCTOOL__ |