Return to sshconnect.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.236, 2012/09/14 16:51:34 | version 1.237, 2013/02/22 19:13:56 | ||
---|---|---|---|
|
|
||
pid_t pid; | pid_t pid; | ||
char *shell, strport[NI_MAXSERV]; | char *shell, strport[NI_MAXSERV]; | ||
if (!strcmp(proxy_command, "-")) { | |||
packet_set_connection(STDIN_FILENO, STDOUT_FILENO); | |||
packet_set_timeout(options.server_alive_interval, | |||
options.server_alive_count_max); | |||
return 0; | |||
} | |||
if ((shell = getenv("SHELL")) == NULL || *shell == '\0') | if ((shell = getenv("SHELL")) == NULL || *shell == '\0') | ||
shell = _PATH_BSHELL; | shell = _PATH_BSHELL; | ||