diff options
author | Darren Tucker <dtucker@zip.com.au> | 2007-06-12 23:44:10 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2007-06-12 23:44:10 +1000 |
commit | 26047496519e9ad25fb60da24645580200ecae50 (patch) | |
tree | c81a9b30d7bc1e9b292689ddcafc243a29c7f4af /ssh.c | |
parent | 415bddc1bdd2d0be418ab82520512d77643c05b0 (diff) |
- djm@cvs.openbsd.org 2007/06/12 11:45:27
[ssh.c]
improved exit message from multiplex slave sessions; bz #1262
reported by alexandre.nunes AT gmail.com; ok dtucker@
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.c,v 1.297 2007/06/12 11:15:17 djm Exp $ */ | 1 | /* $OpenBSD: ssh.c,v 1.298 2007/06/12 11:45:27 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 |
@@ -1485,7 +1485,8 @@ control_client(const char *path) | |||
1485 | debug2("Received exit status from master %d", exitval); | 1485 | debug2("Received exit status from master %d", exitval); |
1486 | 1486 | ||
1487 | if (tty_flag && options.log_level != SYSLOG_LEVEL_QUIET) | 1487 | if (tty_flag && options.log_level != SYSLOG_LEVEL_QUIET) |
1488 | fprintf(stderr, "Connection to master closed.\r\n"); | 1488 | fprintf(stderr, "Shared connection to %s closed.\r\n", |
1489 | host); | ||
1489 | 1490 | ||
1490 | exit(exitval); | 1491 | exit(exitval); |
1491 | } | 1492 | } |