diff options
Diffstat (limited to 'lib/ssh/src/ssh_acceptor.erl')
-rw-r--r-- | lib/ssh/src/ssh_acceptor.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssh/src/ssh_acceptor.erl b/lib/ssh/src/ssh_acceptor.erl index 00587eecba..7952574de7 100644 --- a/lib/ssh/src/ssh_acceptor.erl +++ b/lib/ssh/src/ssh_acceptor.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2021. All Rights Reserved. +%% Copyright Ericsson AB 2008-2023. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -93,7 +93,7 @@ acceptor_init(Parent, SystemSup, Opts1 = ?DELETE_INTERNAL_OPT(lsocket, Opts), acceptor_loop(Port, Address, Opts1, NewLSock, AcceptTimeout, SystemSup); {error,Error} -> - proc_lib:init_ack(Parent, {error,Error}) + proc_lib:init_fail(Parent, {error,Error}, {exit, normal}) end end; @@ -104,7 +104,7 @@ acceptor_init(Parent, SystemSup, proc_lib:init_ack(Parent, {ok, self()}), acceptor_loop(Port, Address, Opts, LSock, AcceptTimeout, SystemSup); {error,Error} -> - proc_lib:init_ack(Parent, {error,Error}) + proc_lib:init_fail(Parent, {error,Error}, {exit, normal}) end end. |