forked from TrueCloudLab/rclone
serve sftp: fix typo
This commit is contained in:
parent
bae5c7c81b
commit
57074be9b3
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ func (c *conn) handleChannel(newChannel ssh.NewChannel) {
|
||||||
// Wait for either subsystem "sftp" or "exec" request
|
// Wait for either subsystem "sftp" or "exec" request
|
||||||
if <-isSFTP {
|
if <-isSFTP {
|
||||||
if err := serveChannel(channel, c.handlers, c.what); err != nil {
|
if err := serveChannel(channel, c.handlers, c.what); err != nil {
|
||||||
fs.Errorf(c.what, "Failed to serve SFPT: %v", err)
|
fs.Errorf(c.what, "Failed to serve SFTP: %v", err)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
var rc = uint32(0)
|
var rc = uint32(0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue