summaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
Diffstat (limited to 'src/os')
-rw-r--r--src/os/error_plan9.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/error_plan9.go b/src/os/error_plan9.go
index 62d4e420e..45cd74792 100644
--- a/src/os/error_plan9.go
+++ b/src/os/error_plan9.go
@@ -25,7 +25,7 @@ func isNotExist(err error) bool {
case *LinkError:
err = pe.Err
}
- return contains(err.Error(), "does not exist") || contains(err.Error(), "not found")
+ return contains(err.Error(), "does not exist") || contains(err.Error(), "not found") || contains(err.Error(), "has been removed")
}
func isPermission(err error) bool {