=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- src/usr.bin/ssh/ssh.c 1999/09/29 21:15:54 1.12 +++ src/usr.bin/ssh/ssh.c 1999/09/30 04:10:28 1.13 @@ -18,7 +18,7 @@ */ #include "includes.h" -RCSID("$Id: ssh.c,v 1.12 1999/09/29 21:15:54 deraadt Exp $"); +RCSID("$Id: ssh.c,v 1.13 1999/09/30 04:10:28 deraadt Exp $"); #include "xmalloc.h" #include "ssh.h" @@ -131,14 +131,13 @@ void rsh_connect(char *host, char *user, Buffer *command) { -#ifdef RSH_PATH char *args[10]; int i; log("Using rsh. WARNING: Connection will not be encrypted."); /* Build argument list for rsh. */ i = 0; - args[i++] = RSH_PATH; + args[i++] = _PATH_RSH; args[i++] = host; /* may have to come after user on some systems */ if (user) { @@ -161,12 +160,9 @@ } fprintf(stderr, "\n"); } - execv(RSH_PATH, args); - perror(RSH_PATH); + execv(_PATH_RSH, args); + perror(_PATH_RSH); exit(1); -#else /* RSH_PATH */ - fatal("Rsh not available."); -#endif /* RSH_PATH */ } /* Main program for the ssh client. */