diff options
author | Hans Nilsson <hans@erlang.org> | 2019-09-26 10:20:13 +0200 |
---|---|---|
committer | Hans Nilsson <hans@erlang.org> | 2019-09-27 10:16:05 +0200 |
commit | 97f7922e53af326522f795539cad974b5353a3e5 (patch) | |
tree | 58af2be043110c8f3aa6bce4d2701a36a4364315 /lib/ssh/doc/src/ssh.xml | |
parent | ac09ee9d8d88aa35ba546f5cb6cc913238c4b212 (diff) | |
download | erlang-97f7922e53af326522f795539cad974b5353a3e5.tar.gz |
ssh: Fix bad exit status code (4294967295 -> 255)
Happend when an ssh exec was executed by a direct fun that returned
{error, Cause}.
Diffstat (limited to 'lib/ssh/doc/src/ssh.xml')
-rw-r--r-- | lib/ssh/doc/src/ssh.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/doc/src/ssh.xml b/lib/ssh/doc/src/ssh.xml index 1f5ac0fd69..e7d0ebda56 100644 --- a/lib/ssh/doc/src/ssh.xml +++ b/lib/ssh/doc/src/ssh.xml @@ -400,13 +400,13 @@ <datatype> <name name="exec_result"/> <desc> - <p>This option changes how the daemon execute exec-requests from clients. The term in the return value + <p>This option changes how the daemon executes exec-requests from clients. The term in the return value is formatted to a string if it is a non-string type. No trailing newline is added in the ok-case. </p> <p>Error texts are returned on channel-type 1 which usually is piped to <c>stderr</c> on e.g Linux systems. Texts from a successful execution are returned on channel-type 0 and will in similar manner be piped to <c>stdout</c>. The exit-status code - is set to 0 for success and -1 for errors. The exact results presented on the client side depends on the + is set to 0 for success and 255 for errors. The exact results presented on the client side depends on the client and the client's operating system. </p> <p>In case of the <c>{direct, exec_fun()}</c> variant or no exec-option at all, |