[BACK]Return to sshconnect.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sshconnect.c between version 1.225 and 1.226

version 1.225, 2010/08/31 11:54:45 version 1.226, 2010/10/05 05:13:18
Line 78 
Line 78 
         pid_t pid;          pid_t pid;
         char *shell, strport[NI_MAXSERV];          char *shell, strport[NI_MAXSERV];
   
         if ((shell = getenv("SHELL")) == NULL)          if ((shell = getenv("SHELL")) == NULL || *shell == '\0')
                 shell = _PATH_BSHELL;                  shell = _PATH_BSHELL;
   
         /* Convert the port number into a string. */          /* Convert the port number into a string. */
Line 1224 
Line 1224 
             args == NULL || !*args)              args == NULL || !*args)
                 return (1);                  return (1);
   
         if ((shell = getenv("SHELL")) == NULL)          if ((shell = getenv("SHELL")) == NULL || *shell == '\0')
                 shell = _PATH_BSHELL;                  shell = _PATH_BSHELL;
   
         pid = fork();          pid = fork();

Legend:
Removed from v.1.225  
changed lines
  Added in v.1.226