Moved defer f.Close() up so there is no chance of returning without closing and handled an error on f.Chmod
parent
51abaf788c
commit
0bfbefc38a
Loading…
Reference in new issue