aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_connection.erl
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2015-11-16 13:25:03 +0100
committerHenrik Nord <[email protected]>2015-11-16 13:25:03 +0100
commit828867abc55c64f61dd4c0e67dc4e0ad5becf4dc (patch)
treeef60e70964237923af6593eaddbecedeb060e250 /lib/ssh/src/ssh_connection.erl
parentb1c85b4310d7b33ddcc6c121a95db1c12a83a882 (diff)
parentc16c45a587a199987dae799ea02fb9c32216854f (diff)
downloadotp-828867abc55c64f61dd4c0e67dc4e0ad5becf4dc.tar.gz
otp-828867abc55c64f61dd4c0e67dc4e0ad5becf4dc.tar.bz2
otp-828867abc55c64f61dd4c0e67dc4e0ad5becf4dc.zip
Merge branch 'maint'
Diffstat (limited to 'lib/ssh/src/ssh_connection.erl')
-rw-r--r--lib/ssh/src/ssh_connection.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_connection.erl b/lib/ssh/src/ssh_connection.erl
index 266c64fd4f..a34478732c 100644
--- a/lib/ssh/src/ssh_connection.erl
+++ b/lib/ssh/src/ssh_connection.erl
@@ -662,7 +662,7 @@ handle_msg(#ssh_msg_channel_request{recipient_channel = ChannelId,
ReplyMsg = {subsystem, ChannelId, WantReply, binary_to_list(SsName)},
try
- {ok, Pid} = start_subsytem(SsName, Connection, Channel0, ReplyMsg),
+ {ok, Pid} = start_subsystem(SsName, Connection, Channel0, ReplyMsg),
erlang:monitor(process, Pid),
Channel = Channel0#channel{user = Pid},
ssh_channel:cache_update(Cache, Channel),
@@ -1017,7 +1017,7 @@ start_cli(#connection{options = Options,
sub_system_supervisor = SubSysSup}, ChannelId) ->
start_channel(CbModule, ChannelId, Args, SubSysSup, Exec, Options).
-start_subsytem(BinName, #connection{options = Options,
+start_subsystem(BinName, #connection{options = Options,
sub_system_supervisor = SubSysSup},
#channel{local_id = ChannelId}, _ReplyMsg) ->
Name = binary_to_list(BinName),