diff options
author | Ingela Anderton Andin <[email protected]> | 2013-11-27 08:28:13 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2013-11-27 08:28:13 +0100 |
commit | c3c686b6d38cd8e6344fea1ae62492932e5272e9 (patch) | |
tree | 5dd94d7bb3ef1dfba574a215f0d5e69f5698a6b5 /lib/ssh/src/ssh_no_io.erl | |
parent | fb8b76bff0a43ae5bf3982a9b70e2bcfbc8ceedb (diff) | |
parent | 7211a984fc82b6c1dd8f710af15674ee7112ff53 (diff) | |
download | otp-c3c686b6d38cd8e6344fea1ae62492932e5272e9.tar.gz otp-c3c686b6d38cd8e6344fea1ae62492932e5272e9.tar.bz2 otp-c3c686b6d38cd8e6344fea1ae62492932e5272e9.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/ssh/src/ssh_no_io.erl')
-rw-r--r-- | lib/ssh/src/ssh_no_io.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/ssh/src/ssh_no_io.erl b/lib/ssh/src/ssh_no_io.erl index 9f83506cdd..825a0d4af5 100644 --- a/lib/ssh/src/ssh_no_io.erl +++ b/lib/ssh/src/ssh_no_io.erl @@ -24,27 +24,27 @@ -module(ssh_no_io). -include("ssh_transport.hrl"). --export([yes_no/1, read_password/1, read_line/1, format/2]). +-export([yes_no/2, read_password/2, read_line/2, format/2]). -yes_no(_Prompt) -> +yes_no(_, _) -> throw({{no_io_allowed, yes_no}, #ssh_msg_disconnect{code = ?SSH_DISCONNECT_SERVICE_NOT_AVAILABLE, description = "User interaction is not allowed", language = "en"}}). -read_password(_Prompt) -> +read_password(_, _) -> throw({{no_io_allowed, read_password}, #ssh_msg_disconnect{code = ?SSH_DISCONNECT_SERVICE_NOT_AVAILABLE, description = "User interaction is not allowed", language = "en"}}). -read_line(_Prompt) -> +read_line(_, _) -> throw({{no_io_allowed, read_line}, #ssh_msg_disconnect{code = ?SSH_DISCONNECT_SERVICE_NOT_AVAILABLE, description = "User interaction is not allowed", language = "en"}} ). -format(_Fmt, _Args) -> +format(_, _) -> throw({{no_io_allowed, format}, #ssh_msg_disconnect{code = ?SSH_DISCONNECT_SERVICE_NOT_AVAILABLE, description = "User interaction is not allowed", |