diff options
Diffstat (limited to 'libgo/go/os/getwd.go')
-rw-r--r-- | libgo/go/os/getwd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/os/getwd.go b/libgo/go/os/getwd.go index 87ad8eb..6d25466 100644 --- a/libgo/go/os/getwd.go +++ b/libgo/go/os/getwd.go @@ -24,7 +24,7 @@ var useSyscallwd = func(error) bool { return true } // reached via multiple paths (due to symbolic links), // Getwd may return any one of them. func Getwd() (dir string, err error) { - if runtime.GOOS == "windows" { + if runtime.GOOS == "windows" || runtime.GOOS == "plan9" { return syscall.Getwd() } |