Merge "Fix running out of FDs in camget"

This commit is contained in:
Brad Fitzpatrick 2014-05-31 06:46:28 +00:00 committed by Gerrit Code Review
commit 6914346584
1 changed files with 1 additions and 0 deletions

View File

@ -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":