diff options
author | Matt Johnston <matt@ucc.asn.au> | 2008-09-23 15:57:32 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2008-09-23 15:57:32 +0000 |
commit | 729aa017d36bc360c091cbd886b2a48e7ea85769 (patch) | |
tree | 6c6be81cc5d4ed7e0bb44c85d77a27885091d5f6 /cli-chansession.c | |
parent | 6fe6393acb88d0cfdd1e839da8dd98282ef6119b (diff) | |
parent | efe45cddbe3a2e3dce3bd6c61038eee381c3ebe2 (diff) |
merge of '6fd2597077a4e2421bf45388e058d15606f6dd74'
and 'c7b916e6c522f16f06fe1bd52815ba13aa88b90b'
--HG--
extra : convert_revision : dd53ba272725a189d596cf96532ea165c847265c
Diffstat (limited to 'cli-chansession.c')
-rw-r--r-- | cli-chansession.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cli-chansession.c b/cli-chansession.c index 07b9b9d..dc8e641 100644 --- a/cli-chansession.c +++ b/cli-chansession.c @@ -321,7 +321,11 @@ static void send_chansess_shell_req(struct Channel *channel) { TRACE(("enter send_chansess_shell_req")) if (cli_opts.cmd) { - reqtype = "exec"; + if (cli_opts.is_subsystem) { + reqtype = "subsystem"; + } else { + reqtype = "exec"; + } } else { reqtype = "shell"; } |