summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2011-06-03 00:54:38 +0000
committerdjm <djm@openbsd.org>2011-06-03 00:54:38 +0000
commit681b0534a15441416a5576ee9fbc665e21138634 (patch)
treef42ce90884729ec47850f9f1f7a89ffe13df9e6b /usr.bin/ssh/ssh.c
parentRetry establishing the port forwarding after a small delay, should make (diff)
downloadwireguard-openbsd-681b0534a15441416a5576ee9fbc665e21138634.tar.xz
wireguard-openbsd-681b0534a15441416a5576ee9fbc665e21138634.zip
bz#1883 - setproctitle() to identify mux master; patch from Bert.Wesarg
AT googlemail.com; ok dtucker@
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index c52a318b674..1d863b8c952 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh.c,v 1.361 2011/05/24 07:15:47 djm Exp $ */
+/* $OpenBSD: ssh.c,v 1.362 2011/06/03 00:54:38 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -943,6 +943,7 @@ control_persist_detach(void)
if (devnull > STDERR_FILENO)
close(devnull);
}
+ setproctitle("%s [mux]", options.control_path);
}
/* Do fork() after authentication. Used by "ssh -f" */