diff options
author | Jim Meyering <jim@meyering.net> | 2002-03-03 22:29:31 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-03-03 22:29:31 +0000 |
commit | 337e4b174dcf0f959ae113acfb9453849e849328 (patch) | |
tree | a45f81c1186f08454cd5dec902042879b8badf19 /src | |
parent | 246e147a6a6b9d460376f7f7889191d13652456e (diff) | |
download | coreutils-337e4b174dcf0f959ae113acfb9453849e849328.tar.xz |
(copy_internal): Remove -r warning; no longer needed.
Diffstat (limited to 'src')
-rw-r--r-- | src/copy.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/copy.c b/src/copy.c index 16493ab4c..4da2b2190 100644 --- a/src/copy.c +++ b/src/copy.c @@ -1406,14 +1406,6 @@ copy_internal (const char *src_path, const char *dst_path, goto un_backup; } - if (x->recursive && x->copy_as_regular) - { - /* Warn that applying `cp -r' to symlinks is not portable, - but go ahead and preserve the symlink. */ - error (0, 0, _("%s: WARNING: using -r to copy symbolic\ - links is not portable"), quote (src_path)); - } - if (!symlink (src_link_val, dst_path)) free (src_link_val); else |