aboutsummaryrefslogtreecommitdiff
path: root/mv.c
diff options
context:
space:
mode:
Diffstat (limited to 'mv.c')
-rw-r--r--mv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mv.c b/mv.c
index b890abf6e..1c4a34788 100644
--- a/mv.c
+++ b/mv.c
@@ -74,8 +74,8 @@ static int manual_rename(const char *source, const char *dest)
74 } 74 }
75 } 75 }
76 76
77 if (copy_file(source, dest, FILEUTILS_RECUR | FILEUTILS_PRESERVE_STATUS | 77 if (copy_file(source, dest,
78 FILEUTILS_PRESERVE_SYMLINKS) < 0) 78 FILEUTILS_RECUR | FILEUTILS_PRESERVE_STATUS) < 0)
79 return -1; 79 return -1;
80 80
81 if (remove_file(source, FILEUTILS_RECUR | FILEUTILS_FORCE) < 0) 81 if (remove_file(source, FILEUTILS_RECUR | FILEUTILS_FORCE) < 0)