ecore_file: get stat from correct file

This commit is contained in:
Vyacheslav Reutskiy 2016-11-23 16:06:43 +02:00
parent 5e25b8037c
commit dc18e71903
1 changed files with 2 additions and 1 deletions

View File

@ -331,7 +331,8 @@ ecore_file_recursive_rm(const char *dir)
if (readlink(dir, buf, sizeof(buf) - 1) > 0)
return ecore_file_unlink(dir);
if (!_ecore_file_stat(buf, NULL, NULL, NULL, &is_dir, NULL))
if (!_ecore_file_stat(dir, NULL, NULL, NULL, &is_dir, NULL))
return EINA_FALSE;
#else
if (lstat(dir, &st) == -1)