diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ssh.c | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -11,6 +11,10 @@ | |||
11 | [umac.h] | 11 | [umac.h] |
12 | oops, forgot to commit corresponding header change; | 12 | oops, forgot to commit corresponding header change; |
13 | spotted by jsg and jasper | 13 | spotted by jsg and jasper |
14 | - djm@cvs.openbsd.org 2013/07/25 00:29:10 | ||
15 | [ssh.c] | ||
16 | daemonise backgrounded (ControlPersist'ed) multiplexing master to ensure | ||
17 | it is fully detached from its controlling terminal. based on debugging | ||
14 | 18 | ||
15 | 20130720 | 19 | 20130720 |
16 | - (djm) OpenBSD CVS Sync | 20 | - (djm) OpenBSD CVS Sync |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.c,v 1.380 2013/07/20 01:44:37 djm Exp $ */ | 1 | /* $OpenBSD: ssh.c,v 1.381 2013/07/25 00:29:10 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1022,6 +1022,7 @@ control_persist_detach(void) | |||
1022 | if (devnull > STDERR_FILENO) | 1022 | if (devnull > STDERR_FILENO) |
1023 | close(devnull); | 1023 | close(devnull); |
1024 | } | 1024 | } |
1025 | daemon(1, 1); | ||
1025 | setproctitle("%s [mux]", options.control_path); | 1026 | setproctitle("%s [mux]", options.control_path); |
1026 | } | 1027 | } |
1027 | 1028 | ||