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 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,
116 116
117 /* Execute the proxy command. Note that we gave up any 117 /* Execute the proxy command. Note that we gave up any
118 extra privileges above. */ 118 extra privileges above. */
119 execv(_PATH_BSHELL, argv); 119 execv(argv[0], argv);
120 perror(_PATH_BSHELL); 120 perror(argv[0]);
121 exit(1); 121 exit(1);
122 } 122 }
123 /* Parent. */ 123 /* Parent. */