forked from enlightenment/efl
- if its a file, dont bother with it, just unlink it
SVN revision: 17880
This commit is contained in:
parent
b21a42f0f7
commit
7f10622a24
|
@ -102,6 +102,9 @@ ecore_file_recursive_rm(const char *dir)
|
|||
Ecore_List *list;
|
||||
int ret;
|
||||
|
||||
if(!ecore_file_is_dir(dir))
|
||||
return ecore_file_unlink(dir);
|
||||
|
||||
ret = 0;
|
||||
dirp = opendir(dir);
|
||||
if (!dirp) return ret;
|
||||
|
|
Loading…
Reference in New Issue