diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/ecore_file/ecore_file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_file/ecore_file.c b/src/lib/ecore_file/ecore_file.c index 1b8b10a2d8..f2b5de172a 100644 --- a/src/lib/ecore_file/ecore_file.c +++ b/src/lib/ecore_file/ecore_file.c | |||
@@ -331,7 +331,8 @@ ecore_file_recursive_rm(const char *dir) | |||
331 | 331 | ||
332 | if (readlink(dir, buf, sizeof(buf) - 1) > 0) | 332 | if (readlink(dir, buf, sizeof(buf) - 1) > 0) |
333 | return ecore_file_unlink(dir); | 333 | return ecore_file_unlink(dir); |
334 | if (!_ecore_file_stat(buf, NULL, NULL, NULL, &is_dir, NULL)) | 334 | |
335 | if (!_ecore_file_stat(dir, NULL, NULL, NULL, &is_dir, NULL)) | ||
335 | return EINA_FALSE; | 336 | return EINA_FALSE; |
336 | #else | 337 | #else |
337 | if (lstat(dir, &st) == -1) | 338 | if (lstat(dir, &st) == -1) |