aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-03-14 20:50:51 +0100
committerHans Nilsson <[email protected]>2018-03-23 10:04:33 +0100
commita1893408a2eb99d74f98445533381a9c24889098 (patch)
tree1089d6c59576fadd0a7580618e1012020411391d /lib/ssh
parent0c151c6939a83f9a26a45d24fd504fc4fb2f3f01 (diff)
downloadotp-a1893408a2eb99d74f98445533381a9c24889098.tar.gz
otp-a1893408a2eb99d74f98445533381a9c24889098.tar.bz2
otp-a1893408a2eb99d74f98445533381a9c24889098.zip
ssh: Doc fix
Diffstat (limited to 'lib/ssh')
-rw-r--r--lib/ssh/doc/src/ssh_connection.xml6
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>