summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-05-02 08:05:33 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-05-02 08:05:33 +0000
commitba9a5766ddb88db788e2efae798978ecb53fd306 (patch)
tree452e085ac96ab30191cf46510f5f45e26b2f62a8 /usr.bin
parentb34b0f363cb20f99ca067ace874051569ce38148 (diff)
update proctitle for proto 1, too
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/session.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c
index 68574b87d32..25a5cd0cab9 100644
--- a/usr.bin/ssh/session.c
+++ b/usr.bin/ssh/session.c
@@ -8,7 +8,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: session.c,v 1.9 2000/05/02 07:32:44 markus Exp $");
+RCSID("$OpenBSD: session.c,v 1.10 2000/05/02 08:05:32 markus Exp $");
#include "xmalloc.h"
#include "ssh.h"
@@ -236,6 +236,8 @@ do_authenticated(struct passwd * pw)
tty_parse_modes(s->ttyfd, &n_bytes);
packet_integrity_check(plen, 4 + dlen + 4 * 4 + n_bytes, type);
+ session_proctitle(s);
+
/* Indicate that we now have a pty. */
success = 1;
have_pty = 1;