diff options
Diffstat (limited to 'src/lib/ecore_file/ecore_file.c')
-rw-r--r-- | src/lib/ecore_file/ecore_file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/ecore_file/ecore_file.c b/src/lib/ecore_file/ecore_file.c index d9ee50f4a8..db0a1e65c4 100644 --- a/src/lib/ecore_file/ecore_file.c +++ b/src/lib/ecore_file/ecore_file.c | |||
@@ -214,8 +214,7 @@ static mode_t default_mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S | |||
214 | EAPI Eina_Bool | 214 | EAPI Eina_Bool |
215 | ecore_file_mkdir(const char *dir) | 215 | ecore_file_mkdir(const char *dir) |
216 | { | 216 | { |
217 | if (mkdir(dir, default_mode) < 0) return EINA_FALSE; | 217 | return (mkdir(dir, default_mode) == 0); |
218 | return EINA_TRUE; | ||
219 | } | 218 | } |
220 | 219 | ||
221 | /** | 220 | /** |