aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2012-11-29 14:12:15 +0100
committerFredrik Gustafsson <[email protected]>2012-11-29 14:12:15 +0100
commitb66486468476734419ec4e3aa9cbac766aa012fe (patch)
tree7abf899bef55c07724145bb244fec18367e35bed /lib/ssh
parent179e47446a5940acfdde5dea38d1b318520ad464 (diff)
downloadotp-b66486468476734419ec4e3aa9cbac766aa012fe.tar.gz
otp-b66486468476734419ec4e3aa9cbac766aa012fe.tar.bz2
otp-b66486468476734419ec4e3aa9cbac766aa012fe.zip
Added eexist to return proper sftp parameter
Diffstat (limited to 'lib/ssh')
-rw-r--r--lib/ssh/src/ssh_xfer.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh_xfer.erl b/lib/ssh/src/ssh_xfer.erl
index 91607ce69c..4dfd9ed8b0 100644
--- a/lib/ssh/src/ssh_xfer.erl
+++ b/lib/ssh/src/ssh_xfer.erl
@@ -396,6 +396,7 @@ encode_erlang_status(Status) ->
eacces -> ?SSH_FX_PERMISSION_DENIED;
eisdir -> ?SSH_FX_FILE_IS_A_DIRECTORY;
eperm -> ?SSH_FX_CANNOT_DELETE;
+ eexist -> ?SSH_FX_FILE_ALREADY_EXISTS;
_ -> ?SSH_FX_FAILURE
end.