[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.233 and 1.234

version 1.233, 2008/03/26 21:28:14 version 1.234, 2008/04/18 22:01:33
Line 880 
Line 880 
   
         /* ignore _PATH_SSH_USER_RC for subsystems and admin forced commands */          /* ignore _PATH_SSH_USER_RC for subsystems and admin forced commands */
         if (!s->is_subsystem && options.adm_forced_command == NULL &&          if (!s->is_subsystem && options.adm_forced_command == NULL &&
             !no_user_rc &&  (stat(_PATH_SSH_USER_RC, &st) >= 0)) {              !no_user_rc && stat(_PATH_SSH_USER_RC, &st) >= 0) {
                 snprintf(cmd, sizeof cmd, "%s -c '%s %s'",                  snprintf(cmd, sizeof cmd, "%s -c '%s %s'",
                     shell, _PATH_BSHELL, _PATH_SSH_USER_RC);                      shell, _PATH_BSHELL, _PATH_SSH_USER_RC);
                 if (debug_flag)                  if (debug_flag)

Legend:
Removed from v.1.233  
changed lines
  Added in v.1.234