diff options
| author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 00:07:29 +0000 |
|---|---|---|
| committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 00:07:29 +0000 |
| commit | 2162b2d2265b5a190e84216b529977d83162f9cc (patch) | |
| tree | ac48fd8c79dd9f0b338762a1129b83587ab3a39f /bin/rcp/util.c | |
| parent | 236bb30377a429eb08bcef5e354d39c7bb40bb92 (diff) | |
Notes
Diffstat (limited to 'bin/rcp/util.c')
| -rw-r--r-- | bin/rcp/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rcp/util.c b/bin/rcp/util.c index 89e356092cfd..099d2f9f2a54 100644 --- a/bin/rcp/util.c +++ b/bin/rcp/util.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: util.c,v 1.2 1994/09/24 02:56:57 davidg Exp $ + * $Id: util.c,v 1.3 1995/03/19 13:29:16 joerg Exp $ */ #ifndef lint @@ -118,7 +118,7 @@ susystem(s, userid) switch (pid) { case -1: return (127); - + case 0: (void)setuid(userid); execl(_PATH_BSHELL, "sh", "-c", s, NULL); |
