1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-16 00:04:40 +00:00

fuse: re-use rcat to support uploads for all remotes (fixes #1672)

This commit is contained in:
Stefan Breunig
2017-09-16 22:49:08 +02:00
parent 168b0a0ecb
commit 12405f9f41
5 changed files with 22 additions and 63 deletions

View File

@@ -50,7 +50,8 @@ a lot of data, you're better off caching locally and then
fdst, dstFileName := cmd.NewFsDstFile(args)
cmd.Run(false, false, command, func() error {
return fs.Rcat(fdst, dstFileName, os.Stdin, time.Now())
_, err := fs.Rcat(fdst, dstFileName, os.Stdin, time.Now())
return err
})
},
}