]> Cypherpunks repositories - gostls13.git/commitdiff
os: gofmt
authorTobias Klauser <tklauser@distanz.ch>
Thu, 31 Oct 2019 21:24:04 +0000 (22:24 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Fri, 1 Nov 2019 07:59:09 +0000 (07:59 +0000)
Change-Id: Ie76303e403f0539bdfe14f6bb5f32896df916bce
Reviewed-on: https://go-review.googlesource.com/c/go/+/204657
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/os/removeall_noat.go

index 953c4a27153b6fecbd8d6216ce8153323c335582..c1b43e380753e6ea748ade2803fb346688d0f2f8 100644 (file)
@@ -130,7 +130,7 @@ func removeAll(path string) error {
        }
        if runtime.GOOS == "windows" && IsPermission(err1) {
                if fs, err := Stat(path); err == nil {
-                       if err = Chmod(path, FileMode(0200 | int(fs.Mode()))); err == nil {
+                       if err = Chmod(path, FileMode(0200|int(fs.Mode()))); err == nil {
                                err1 = Remove(path)
                        }
                }