diff options
author | 1997-12-08 05:15:29 +0000 | |
---|---|---|
committer | 1997-12-08 05:15:29 +0000 | |
commit | 021beaef2d9b70aa1b9cce27a7d1e65c4d390c99 (patch) | |
tree | 7d905d0a3529a2a513331805a6dcd8d2d4fa5e12 | |
parent | start at appletalk... (diff) | |
download | wireguard-openbsd-021beaef2d9b70aa1b9cce27a7d1e65c4d390c99.tar.xz wireguard-openbsd-021beaef2d9b70aa1b9cce27a7d1e65c4d390c99.zip |
use cp -R for local copies
-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 6079e8172f4..a473c0737fb 100644 --- a/bin/rcp/rcp.c +++ b/bin/rcp/rcp.c @@ -1,5 +1,5 @@ /* $NetBSD: rcp.c,v 1.9 1995/03/21 08:19:06 cgd Exp $ */ -/* $OpenBSD: rcp.c,v 1.17 1997/11/05 00:09:36 deraadt Exp $ */ +/* $OpenBSD: rcp.c,v 1.18 1997/12/08 05:15:29 deraadt Exp $ */ /* * Copyright (c) 1983, 1990, 1992, 1993 @@ -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; |