summaryrefslogtreecommitdiff
path: root/src/lib/ecore_file
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_file')
-rw-r--r--src/lib/ecore_file/ecore_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_file/ecore_file.c b/src/lib/ecore_file/ecore_file.c
index c41039379f..9a3c6d021e 100644
--- a/src/lib/ecore_file/ecore_file.c
+++ b/src/lib/ecore_file/ecore_file.c
@@ -613,7 +613,7 @@ ecore_file_mv(const char *src, const char *dst)
613 goto FAIL; 613 goto FAIL;
614 614
615 // Set file permissions of temp file to match src 615 // Set file permissions of temp file to match src
616 chmod(buf, st.st_mode); 616 if (chmod(buf, st.st_mode) == -1) goto FAIL;
617 617
618 // Try to atomically move temp file to dst 618 // Try to atomically move temp file to dst
619 if (rename(buf, dst)) 619 if (rename(buf, dst))