diff options
| author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2016-08-11 18:51:38 +0900 |
|---|---|---|
| committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2016-08-11 18:51:38 +0900 |
| commit | c3e9588849195eefa783417c3a53d092f6e93526 (patch) | |
| tree | abcf7b61d0cca0a51c81a067552efd2036a50333 /tool | |
| parent | add upgrade.go (diff) | |
| download | golite-c3e9588849195eefa783417c3a53d092f6e93526.tar.gz golite-c3e9588849195eefa783417c3a53d092f6e93526.tar.xz | |
Close file
Diffstat (limited to 'tool')
| -rw-r--r-- | tool/upgrade.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/upgrade.go b/tool/upgrade.go index aaca783..4e99635 100644 --- a/tool/upgrade.go +++ b/tool/upgrade.go @@ -69,6 +69,7 @@ func main() { log.Fatal(err) } _, err = io.Copy(f, zr) + f.Close() if err != nil { log.Fatal(err) } |
