diff options
author | Jim Meyering <jim@meyering.net> | 2001-07-08 21:31:42 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-07-08 21:31:42 +0000 |
commit | 89bef497fd3f74caeb2ffdea85591d150d3f3b9e (patch) | |
tree | 70966639e929d94f8ff977a277c38d8121a92e6d /src | |
parent | 9af2cc052bd73c497a841af7bc3e41c7de907833 (diff) | |
download | coreutils-89bef497fd3f74caeb2ffdea85591d150d3f3b9e.tar.xz |
revert unrelated part of last delta -- coming soon with a separate log entry
Diffstat (limited to 'src')
-rw-r--r-- | src/copy.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/copy.c b/src/copy.c index 1096fba23..bc4b41065 100644 --- a/src/copy.c +++ b/src/copy.c @@ -653,13 +653,7 @@ copy_internal (const char *src_path, const char *dst_path, } if (x->update && MTIME_CMP (src_sb, dst_sb) <= 0) - { - /* Pretend the rename succeeded, so the caller (mv) - doesn't end up removing the source file. */ - if (rename_succeeded) - *rename_succeeded = 1; - return 0; - } + return 0; } if (!S_ISDIR (src_type) && x->interactive) |