summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2005-11-05 15:14:59 +1100
committerDamien Miller <djm@mindrot.org>2005-11-05 15:14:59 +1100
commit788f212aed68781efe7aa80e625c5f8cd4d98100 (patch)
tree2325dfd810906d1b4eb02bda7a8ead19b4e9186e /session.c
parent713de76f66d4a27134938ebf6836ef97471c128a (diff)
- djm@cvs.openbsd.org 2005/10/30 08:52:18
[clientloop.c packet.c serverloop.c session.c ssh-agent.c ssh-keygen.c] [ssh.c sshconnect.c sshconnect1.c sshd.c] no need to escape single quotes in comments, no binary change
Diffstat (limited to 'session.c')
-rw-r--r--session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/session.c b/session.c
index 5e6627cb0..7863aa15f 100644
--- a/session.c
+++ b/session.c
@@ -33,7 +33,7 @@
33 */ 33 */
34 34
35#include "includes.h" 35#include "includes.h"
36RCSID("$OpenBSD: session.c,v 1.187 2005/10/10 10:23:08 djm Exp $"); 36RCSID("$OpenBSD: session.c,v 1.188 2005/10/30 08:52:17 djm Exp $");
37 37
38#include "ssh.h" 38#include "ssh.h"
39#include "ssh1.h" 39#include "ssh1.h"
@@ -1419,7 +1419,7 @@ child_close_fds(void)
1419 endpwent(); 1419 endpwent();
1420 1420
1421 /* 1421 /*
1422 * Close any extra open file descriptors so that we don\'t have them 1422 * Close any extra open file descriptors so that we don't have them
1423 * hanging around in clients. Note that we want to do this after 1423 * hanging around in clients. Note that we want to do this after
1424 * initgroups, because at least on Solaris 2.3 it leaves file 1424 * initgroups, because at least on Solaris 2.3 it leaves file
1425 * descriptors open. 1425 * descriptors open.
@@ -1554,7 +1554,7 @@ do_child(Session *s, const char *command)
1554 } 1554 }
1555#endif 1555#endif
1556 1556
1557 /* Change current directory to the user\'s home directory. */ 1557 /* Change current directory to the user's home directory. */
1558 if (chdir(pw->pw_dir) < 0) { 1558 if (chdir(pw->pw_dir) < 0) {
1559 fprintf(stderr, "Could not chdir to home directory %s: %s\n", 1559 fprintf(stderr, "Could not chdir to home directory %s: %s\n",
1560 pw->pw_dir, strerror(errno)); 1560 pw->pw_dir, strerror(errno));