commit | 5b082a9edff04208a0acdc72aad148d315661394 | [log] [tgz] |
---|---|---|
author | colincross <github@colincross.com> | Tue Nov 17 17:49:51 2015 -0800 |
committer | colincross <github@colincross.com> | Tue Nov 17 17:49:51 2015 -0800 |
tree | c625da8a34234b2f8b881dcac97b1a32cb72cb0b | |
parent | 2efbb490236eafb37559bdf7a85c995991457e82 [diff] | |
parent | ca3817145ced8eb2f0fa23d70ece03e48c076f21 [diff] |
Merge pull request #79 from colincross/enotdir End removing directories on ENOTDIR
diff --git a/bootstrap/cleanup.go b/bootstrap/cleanup.go index 89c4b3e..3171272 100644 --- a/bootstrap/cleanup.go +++ b/bootstrap/cleanup.go
@@ -130,7 +130,7 @@ } pathErr := err.(*os.PathError) switch pathErr.Err { - case syscall.ENOTEMPTY, syscall.EEXIST: + case syscall.ENOTEMPTY, syscall.EEXIST, syscall.ENOTDIR: return nil } return err