diff options
author | wosch <wosch@FreeBSD.org> | 1997-12-07 20:49:39 +0000 |
---|---|---|
committer | wosch <wosch@FreeBSD.org> | 1997-12-07 20:49:39 +0000 |
commit | df69c965c11136365acfe29358924b3657349be3 (patch) | |
tree | 8922c6e550afdf5d80170d61c905b6bdbdb87c96 /bin/rcp | |
parent | be3ced3cd6a2d76f29a1bd8d992d08728fc65d94 (diff) | |
download | FreeBSD-src-df69c965c11136365acfe29358924b3657349be3.zip FreeBSD-src-df69c965c11136365acfe29358924b3657349be3.tar.gz |
Use `cp -R' instead `cp -r' for local to local coping
(e.g.: rcp -r /tmp/1 /tmp/2). See the cp(1) manpage for more details.
Diffstat (limited to 'bin/rcp')
-rw-r--r-- | bin/rcp/rcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c index dd88d37..dff0ef8 100644 --- a/bin/rcp/rcp.c +++ b/bin/rcp/rcp.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: rcp.c,v 1.14 1997/06/06 06:43:19 charnier Exp $ + * $Id: rcp.c,v 1.15 1997/09/28 08:32:59 markm Exp $ */ #ifndef lint @@ -344,7 +344,7 @@ tolocal(argc, argv) if (!(bp = malloc(len))) err(1, NULL); (void)snprintf(bp, len, "exec %s%s%s %s %s", _PATH_CP, - iamrecursive ? " -r" : "", pflag ? " -p" : "", + iamrecursive ? " -R" : "", pflag ? " -p" : "", argv[i], argv[argc - 1]); if (susystem(bp, userid)) ++errs; |