mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
Fix for bzzup: trailing slash breaks uploader #3397
This commit is contained in:
parent
0fe35b907a
commit
c635632955
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ func main() {
|
|||
|
||||
var (
|
||||
file = flag.Arg(0)
|
||||
client = &client{api: *bzzapiFlag}
|
||||
client = &client{api: strings.TrimSuffix(*bzzapiFlag, "/")}
|
||||
mroot manifest
|
||||
)
|
||||
fi, err := os.Stat(file)
|
||||
|
|
|
|||
Loading…
Reference in a new issue