diff options
author | Hans Nilsson <[email protected]> | 2015-10-12 12:59:04 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2015-10-12 12:59:04 +0200 |
commit | 93a49adc5a174a034bba0431f1e8119a1f30dec6 (patch) | |
tree | 97b38d50b20a1f3eb47ea45d48f00e294ffe8e93 /lib/ssh/src/ssh.erl | |
parent | 309c4b503df1a586e57f6558b6de08245fa80d47 (diff) | |
download | otp-93a49adc5a174a034bba0431f1e8119a1f30dec6.tar.gz otp-93a49adc5a174a034bba0431f1e8119a1f30dec6.tar.bz2 otp-93a49adc5a174a034bba0431f1e8119a1f30dec6.zip |
ssh: updatated spec for ssh:daemon
Diffstat (limited to 'lib/ssh/src/ssh.erl')
-rw-r--r-- | lib/ssh/src/ssh.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssh/src/ssh.erl b/lib/ssh/src/ssh.erl index 132de71aed..15591fb4a7 100644 --- a/lib/ssh/src/ssh.erl +++ b/lib/ssh/src/ssh.erl @@ -117,9 +117,9 @@ channel_info(ConnectionRef, ChannelId, Options) -> ssh_connection_handler:channel_info(ConnectionRef, ChannelId, Options). %%-------------------------------------------------------------------- --spec daemon(integer()) -> {ok, pid()}. --spec daemon(integer(), proplists:proplist()) -> {ok, pid()}. --spec daemon(any | inet:ip_address(), integer(), proplists:proplist()) -> {ok, pid()}. +-spec daemon(integer()) -> {ok, pid()} | {error, term()}. +-spec daemon(integer(), proplists:proplist()) -> {ok, pid()} | {error, term()}. +-spec daemon(any | inet:ip_address(), integer(), proplists:proplist()) -> {ok, pid()} | {error, term()}. %% Description: Starts a server listening for SSH connections %% on the given port. |