diff options
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: session.c,v 1.233 2008/03/26 21:28:14 djm Exp $ */ | 1 | /* $OpenBSD: session.c,v 1.234 2008/04/18 22:01:33 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
4 | * All rights reserved | 4 | * All rights reserved |
@@ -1204,7 +1204,7 @@ do_rc_files(Session *s, const char *shell) | |||
1204 | 1204 | ||
1205 | /* ignore _PATH_SSH_USER_RC for subsystems and admin forced commands */ | 1205 | /* ignore _PATH_SSH_USER_RC for subsystems and admin forced commands */ |
1206 | if (!s->is_subsystem && options.adm_forced_command == NULL && | 1206 | if (!s->is_subsystem && options.adm_forced_command == NULL && |
1207 | !no_user_rc && (stat(_PATH_SSH_USER_RC, &st) >= 0)) { | 1207 | !no_user_rc && stat(_PATH_SSH_USER_RC, &st) >= 0) { |
1208 | snprintf(cmd, sizeof cmd, "%s -c '%s %s'", | 1208 | snprintf(cmd, sizeof cmd, "%s -c '%s %s'", |
1209 | shell, _PATH_BSHELL, _PATH_SSH_USER_RC); | 1209 | shell, _PATH_BSHELL, _PATH_SSH_USER_RC); |
1210 | if (debug_flag) | 1210 | if (debug_flag) |