From: Jim Meyering Date: Sun, 8 Jul 2001 21:31:42 +0000 (+0000) Subject: revert unrelated part of last delta -- coming soon with a separate log entry X-Git-Tag: CPPI-1_10~15 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=89bef497fd3f74caeb2ffdea85591d150d3f3b9e;p=thirdparty%2Fcoreutils.git revert unrelated part of last delta -- coming soon with a separate log entry --- diff --git a/src/copy.c b/src/copy.c index 1096fba237..bc4b41065c 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)