Commit 047df829 authored by Luke Champine's avatar Luke Champine

Merge branch 'siac-trim-slash' into 'master'

Trim leading slash off of siapath provided in siac download

Closes #3432

See merge request !3470
parents b2b873e0 5a03dfd7
Pipeline #52317435 passed with stages
in 122 minutes and 7 seconds
......@@ -704,7 +704,7 @@ func renterfilesdeletecmd(path string) {
// Downloads a path from the Sia network to the local specified destination.
func renterfilesdownloadcmd(path, destination string) {
destination = abs(destination)
path = strings.TrimPrefix(path, "/")
// Queue the download. An error will be returned if the queueing failed, but
// the call will return before the download has completed. The call is made
// as an async call.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment