diff options
author | Hans Nilsson <[email protected]> | 2018-03-23 10:26:49 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2018-03-23 10:26:49 +0100 |
commit | 8d8f9477590628999663da7e9ed0a4941085a861 (patch) | |
tree | f30e1ffc2b13f29e0ede75fb516414ff29785982 /lib | |
parent | 837cf1979852b439dd8fed555ad8c6cb10d9a794 (diff) | |
parent | a1893408a2eb99d74f98445533381a9c24889098 (diff) | |
download | otp-8d8f9477590628999663da7e9ed0a4941085a861.tar.gz otp-8d8f9477590628999663da7e9ed0a4941085a861.tar.bz2 otp-8d8f9477590628999663da7e9ed0a4941085a861.zip |
Merge branch 'hans/ssh/doc_fix_shell_return/OTP-14880'
* hans/ssh/doc_fix_shell_return/OTP-14880:
ssh: Doc fix
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssh/doc/src/ssh_connection.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ssh/doc/src/ssh_connection.xml b/lib/ssh/doc/src/ssh_connection.xml index 150d46a9a2..72830de04d 100644 --- a/lib/ssh/doc/src/ssh_connection.xml +++ b/lib/ssh/doc/src/ssh_connection.xml @@ -428,7 +428,7 @@ </func> <func> - <name>shell(ConnectionRef, ChannelId) -> ssh_request_status() | {error, closed} + <name>shell(ConnectionRef, ChannelId) -> ok | failure | {error, closed} </name> <fsummary>Requests that the user default shell (typically defined in /etc/passwd in Unix systems) is to be executed at the server end.</fsummary> @@ -440,6 +440,10 @@ <p>Is to be called by a client channel process to request that the user default shell (typically defined in /etc/passwd in Unix systems) is executed at the server end.</p> + <p>Note: the return value is <c>ok</c> instead of <c>success</c> unlike in other + functions in this module. This is a fault that was introduced so long ago that + any change would break a large number of existing software. + </p> </desc> </func> |