From f5e152a96c5ad957f3732a3f0cee09034c7c727d Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Tue, 3 May 2016 12:45:03 +0200 Subject: ssh: -spec added for behaviours --- lib/ssh/src/ssh_system_sup.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/ssh/src/ssh_system_sup.erl') diff --git a/lib/ssh/src/ssh_system_sup.erl b/lib/ssh/src/ssh_system_sup.erl index 9a9786a914..5035bc8f80 100644 --- a/lib/ssh/src/ssh_system_sup.erl +++ b/lib/ssh/src/ssh_system_sup.erl @@ -125,6 +125,8 @@ restart_acceptor(Address, Port, Profile) -> %%%========================================================================= %%% Supervisor callback %%%========================================================================= +-spec init( [term()] ) -> {ok,{supervisor:sup_flags(),[supervisor:child_spec()]}} | ignore . + init([ServerOpts]) -> RestartStrategy = one_for_one, MaxR = 0, -- cgit v1.2.3