diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2007-06-12 11:45:28 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2007-06-12 11:45:28 +0000 |
commit | c170d6667747dbb64a8f7f5e98fa730701e12819 (patch) | |
tree | 3a24b2c04fdfbd778c515f18229e695e7bde92a0 | |
parent | ce06681b8d05660747df06f6f33cdb7a29750716 (diff) |
improved exit message from multiplex slave sessions; bz #1262
reported by alexandre.nunes AT gmail.com; ok dtucker@
-rw-r--r-- | usr.bin/ssh/ssh.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index 5f37f7f0b81..ad5b49a917f 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh.c,v 1.297 2007/06/12 11:15:17 djm Exp $ */ +/* $OpenBSD: ssh.c,v 1.298 2007/06/12 11:45:27 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -1460,7 +1460,8 @@ control_client(const char *path) debug2("Received exit status from master %d", exitval); if (tty_flag && options.log_level != SYSLOG_LEVEL_QUIET) - fprintf(stderr, "Connection to master closed.\r\n"); + fprintf(stderr, "Shared connection to %s closed.\r\n", + host); exit(exitval); } |