diff options
author | Hans Nilsson <[email protected]> | 2018-02-22 12:11:05 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2018-02-22 12:11:05 +0100 |
commit | 398dcda0815f12fb177bbb3bf68f6b424c2a62f2 (patch) | |
tree | 28cdd37f4c77fae6e7999507b07485fbd2e04cbb /lib/ssh/src/ssh_connection_handler.erl | |
parent | 4a319977e7f8578435a97e700bebf65b3ee49992 (diff) | |
parent | 13c6a4bf01d39a5002e09ef1f82619cde9f2c90c (diff) | |
download | otp-398dcda0815f12fb177bbb3bf68f6b424c2a62f2.tar.gz otp-398dcda0815f12fb177bbb3bf68f6b424c2a62f2.tar.bz2 otp-398dcda0815f12fb177bbb3bf68f6b424c2a62f2.zip |
Merge branch 'maint-20' into maint
* maint-20:
Updated OTP version
Prepare release
ssh: Add option save_accepted_host
ssh: No error message for signal kill
ssh: Dont repeat supervisor defaults in map fields
ssh: Move starting of channel child to ssh_channel_sup
ssh: Test case for sup tree when shell server proc times out
Diffstat (limited to 'lib/ssh/src/ssh_connection_handler.erl')
-rw-r--r-- | lib/ssh/src/ssh_connection_handler.erl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/ssh/src/ssh_connection_handler.erl b/lib/ssh/src/ssh_connection_handler.erl index 0ca960ef96..c8ac3a9c04 100644 --- a/lib/ssh/src/ssh_connection_handler.erl +++ b/lib/ssh/src/ssh_connection_handler.erl @@ -1460,13 +1460,12 @@ terminate(shutdown, StateName, State0) -> State0), finalize_termination(StateName, State); -%% terminate({shutdown,Msg}, StateName, State0) when is_record(Msg,ssh_msg_disconnect)-> -%% State = send_msg(Msg, State0), -%% finalize_termination(StateName, Msg, State); - terminate({shutdown,_R}, StateName, State) -> finalize_termination(StateName, State); +terminate(kill, StateName, State) -> + finalize_termination(StateName, State); + terminate(Reason, StateName, State0) -> %% Others, e.g undef, {badmatch,_} log_error(Reason), |