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

Diff for /src/usr.bin/ssh/session.c between version 1.151 and 1.152

version 1.151, 2002/12/04 04:36:47 version 1.152, 2002/12/10 08:56:00
Line 1098 
Line 1098 
          * legal, and means /bin/sh.           * legal, and means /bin/sh.
          */           */
         shell = (pw->pw_shell[0] == '\0') ? _PATH_BSHELL : pw->pw_shell;          shell = (pw->pw_shell[0] == '\0') ? _PATH_BSHELL : pw->pw_shell;
   
           /*
            * Make sure $SHELL points to the shell from the password file,
            * even if shell is overridden from login.conf
            */
           env = do_setup_env(s, shell);
   
 #ifdef HAVE_LOGIN_CAP  #ifdef HAVE_LOGIN_CAP
         shell = login_getcapstr(lc, "shell", (char *)shell, (char *)shell);          shell = login_getcapstr(lc, "shell", (char *)shell, (char *)shell);
 #endif  #endif
   
         env = do_setup_env(s, shell);  
   
         /* we have to stash the hostname before we close our socket. */          /* we have to stash the hostname before we close our socket. */
         if (options.use_login)          if (options.use_login)

Legend:
Removed from v.1.151  
changed lines
  Added in v.1.152