mirror of https://github.com/perkeep/perkeep.git
Merge "Fix running out of FDs in camget"
This commit is contained in:
commit
6914346584
|
@ -199,6 +199,7 @@ func smartFetch(src blob.Fetcher, targ string, br blob.Ref) error {
|
||||||
_, err = io.Copy(f, r)
|
_, err = io.Copy(f, r)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
rc.Close()
|
||||||
|
|
||||||
switch b.Type() {
|
switch b.Type() {
|
||||||
case "directory":
|
case "directory":
|
||||||
|
|
Loading…
Reference in New Issue