summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-03-30 10:56:38 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-03-30 10:56:38 +0000
commit7b0fc5433e67b9fae42776d2cd8a386aa9f4bc10 (patch)
tree6a663dff89d7860c7f531f94bbfaee8f12a6a932
parent88fd8e23ef589db92c6c137e4bf0f572522bd268 (diff)
Notes
-rw-r--r--contrib/cpio/rtapelib.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/contrib/cpio/rtapelib.c b/contrib/cpio/rtapelib.c
index eece76ffcd0f..6550a6cd5bd4 100644
--- a/contrib/cpio/rtapelib.c
+++ b/contrib/cpio/rtapelib.c
@@ -372,29 +372,13 @@ __rmt_open (path, oflag, mode, bias)
if (*login)
{
- execl ("/usr/ucb/rsh", "rsh", system, "-l", login,
- "/etc/rmt", (char *) 0);
- execl ("/usr/bin/remsh", "remsh", system, "-l", login,
- "/etc/rmt", (char *) 0);
- execl ("/usr/bin/rsh", "rsh", system, "-l", login,
- "/etc/rmt", (char *) 0);
- execl ("/usr/bsd/rsh", "rsh", system, "-l", login,
- "/etc/rmt", (char *) 0);
- execl ("/usr/bin/nsh", "nsh", system, "-l", login,
+ execl ("/usr/bin/rsh", "rsh", "-l", login, system,
"/etc/rmt", (char *) 0);
}
else
{
- execl ("/usr/ucb/rsh", "rsh", system,
- "/etc/rmt", (char *) 0);
- execl ("/usr/bin/remsh", "remsh", system,
- "/etc/rmt", (char *) 0);
execl ("/usr/bin/rsh", "rsh", system,
"/etc/rmt", (char *) 0);
- execl ("/usr/bsd/rsh", "rsh", system,
- "/etc/rmt", (char *) 0);
- execl ("/usr/bin/nsh", "nsh", system,
- "/etc/rmt", (char *) 0);
}
/* Bad problems if we get here. */