From fcd5d60a951f8129c3bf690310520169d17a2f3f Mon Sep 17 00:00:00 2001 From: Kevin Steves Date: Sun, 7 Jan 2001 11:45:22 +0000 Subject: complete _PATH_BSHELL merge --- sshconnect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sshconnect.c b/sshconnect.c index f3244d35b..59b273a9c 100644 --- a/sshconnect.c +++ b/sshconnect.c @@ -116,8 +116,8 @@ ssh_proxy_connect(const char *host, u_short port, uid_t original_real_uid, /* Execute the proxy command. Note that we gave up any extra privileges above. */ - execv(_PATH_BSHELL, argv); - perror(_PATH_BSHELL); + execv(argv[0], argv); + perror(argv[0]); exit(1); } /* Parent. */ -- cgit v1.2.3