]> Cypherpunks repositories - gostls13.git/commit
os: check setStickyBit error in mkdir
authorEugene Kalinin <e.v.kalinin@gmail.com>
Fri, 1 Jun 2018 08:43:16 +0000 (11:43 +0300)
committerIan Lance Taylor <iant@golang.org>
Tue, 5 Jun 2018 14:53:18 +0000 (14:53 +0000)
commit0e934dd90e81353aa006c9339c626b6c25ea923d
tree9b9618bd3df5cc7d72e6bb5408f4c390f9e973b7
parentbb0fae603bd19e096e38c3321d95bf114f40dcff
os: check setStickyBit error in mkdir

If an error occurs, delete the newly created directory.

Change-Id: I97e960d24af32f027fb23d5ce3f61959e73f6fb0
Reviewed-on: https://go-review.googlesource.com/115715
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/os/file.go