From a1893408a2eb99d74f98445533381a9c24889098 Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Wed, 14 Mar 2018 20:50:51 +0100 Subject: ssh: Doc fix --- lib/ssh/doc/src/ssh_connection.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 @@ - shell(ConnectionRef, ChannelId) -> ssh_request_status() | {error, closed} + shell(ConnectionRef, ChannelId) -> ok | failure | {error, closed} Requests that the user default shell (typically defined in /etc/passwd in Unix systems) is to be executed at the server end. @@ -440,6 +440,10 @@

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.

+

Note: the return value is ok instead of success 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. +

-- cgit v1.2.3