summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2010-09-10 11:17:02 +1000
committerDamien Miller <djm@mindrot.org>2010-09-10 11:17:02 +1000
commit5929c52f65fc2029fb9b496ccfa91bd4cecca0be (patch)
treee9da94e7fa077f321ccb9e9c74493ceaa6d99950 /ssh.c
parent5773794d55a4e30eac2b45adb4dfcb48727c07ae (diff)
- markus@cvs.openbsd.org 2010/09/02 16:08:39
[ssh.c] unbreak ControlPersist=yes for ControlMaster=yes; ok djm@
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssh.c b/ssh.c
index e5b643258..51c68d7da 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh.c,v 1.350 2010/08/31 12:33:38 djm Exp $ */ 1/* $OpenBSD: ssh.c,v 1.351 2010/09/02 16:08:39 markus 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
@@ -936,6 +936,7 @@ control_persist_detach(void)
936 tty_flag = otty_flag; 936 tty_flag = otty_flag;
937 close(muxserver_sock); 937 close(muxserver_sock);
938 muxserver_sock = -1; 938 muxserver_sock = -1;
939 options.control_master = SSHCTL_MASTER_NO;
939 muxclient(options.control_path); 940 muxclient(options.control_path);
940 /* muxclient() doesn't return on success. */ 941 /* muxclient() doesn't return on success. */
941 fatal("Failed to connect to new control master"); 942 fatal("Failed to connect to new control master");