diff options
| -rw-r--r-- | src/libply/ply-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libply/ply-utils.c b/src/libply/ply-utils.c index 0bd901b..e1d7a28 100644 --- a/src/libply/ply-utils.c +++ b/src/libply/ply-utils.c @@ -682,7 +682,7 @@ ply_create_directory (const char *directory) char *last_path_component; bool is_created; - is_created = false; + is_created = errno == EEXIST; if (errno == ENOENT) { parent_directory = strdup (directory); |
