summaryrefslogtreecommitdiff
path: root/mv.c
diff options
context:
space:
mode:
authorMatt Kraai2001-10-05 01:35:10 +0000
committerMatt Kraai2001-10-05 01:35:10 +0000
commit4c557bf576e772bfd78429d5f9b2a436ccadf268 (patch)
treeaa5f6352063fadb09d09d303436cdf3f0f6b79a4 /mv.c
parent54a992d81e4a875e1710e188a3593fa9762e06a4 (diff)
downloadbusybox-4c557bf576e772bfd78429d5f9b2a436ccadf268.zip
busybox-4c557bf576e772bfd78429d5f9b2a436ccadf268.tar.gz
Invert FILEUTILS_PRESERVE_SYMLINKS into FILEUTILS_DEREFERENCE.
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 b890abf..1c4a347 100644
--- a/mv.c
+++ b/mv.c
@@ -74,8 +74,8 @@ static int manual_rename(const char *source, const char *dest)
}
}
- if (copy_file(source, dest, FILEUTILS_RECUR | FILEUTILS_PRESERVE_STATUS |
- FILEUTILS_PRESERVE_SYMLINKS) < 0)
+ if (copy_file(source, dest,
+ FILEUTILS_RECUR | FILEUTILS_PRESERVE_STATUS) < 0)
return -1;
if (remove_file(source, FILEUTILS_RECUR | FILEUTILS_FORCE) < 0)