summaryrefslogtreecommitdiffstats
path: root/session.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2008-05-19 06:55:02 +0200
committerDamien Miller <djm@mindrot.org>2008-05-19 06:55:02 +0200
commitff0dd88999c3d5966bbf32b9598a463363aea375 (patch)
treef7589d4179b4e99a76fe1bc339c95a9940a54eb1 /session.c
parent - jmc@cvs.openbsd.org 2008/04/18 17:15:47 (diff)
downloadopenssh-ff0dd88999c3d5966bbf32b9598a463363aea375.tar.xz
openssh-ff0dd88999c3d5966bbf32b9598a463363aea375.zip
- djm@cvs.openbsd.org 2008/04/18 22:01:33
[session.c] remove unneccessary parentheses
Diffstat (limited to '')
-rw-r--r--session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/session.c b/session.c
index a77dde38f..f2bcfd061 100644
--- a/session.c
+++ b/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.233 2008/03/26 21:28:14 djm Exp $ */
+/* $OpenBSD: session.c,v 1.234 2008/04/18 22:01:33 djm Exp $ */
/*
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
@@ -1204,7 +1204,7 @@ do_rc_files(Session *s, const char *shell)
/* ignore _PATH_SSH_USER_RC for subsystems and admin forced commands */
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'",
shell, _PATH_BSHELL, _PATH_SSH_USER_RC);
if (debug_flag)