version 1.233, 2008/03/26 21:28:14 |
version 1.234, 2008/04/18 22:01:33 |
|
|
|
|
/* 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) |