diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 1996-12-08 14:19:50 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 1996-12-08 14:19:50 +0000 |
| commit | 6aeb9e664fbe0b3c2eba17f02d9fa47aca85d227 (patch) | |
| tree | b317b0bf2281b0a8cd7b99f626cc9bf847a22f70 | |
| parent | ed8f6f5a2621d674f98488141ceb3c47a1761b40 (diff) | |
Notes
| -rw-r--r-- | gnu/usr.bin/cpio/rtapelib.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/gnu/usr.bin/cpio/rtapelib.c b/gnu/usr.bin/cpio/rtapelib.c index eece76ffcd0f..0c23b0670dad 100644 --- a/gnu/usr.bin/cpio/rtapelib.c +++ b/gnu/usr.bin/cpio/rtapelib.c @@ -372,28 +372,16 @@ __rmt_open (path, oflag, mode, bias) if (*login) { - execl ("/usr/ucb/rsh", "rsh", system, "-l", login, + execl ("/usr/bin/rsh", "rsh", "-l", login, system, "/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, + execlp ("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, + execlp ("rsh", "rsh", system, "/etc/rmt", (char *) 0); } |
