summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-01-07 11:45:22 +0000
committerKevin Steves <stevesk@pobox.com>2001-01-07 11:45:22 +0000
commitfcd5d60a951f8129c3bf690310520169d17a2f3f (patch)
treeee1a37b4e413a2058545424dd9eda21d0d801312 /sshconnect.c
parentd26dcf3371657e64dddc7c86c61a89666d4e7053 (diff)
complete _PATH_BSHELL merge
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c
index f3244d35..59b273a9 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. */