diff options
Diffstat (limited to 'pkg/p9/local_server')
-rw-r--r-- | pkg/p9/local_server/local_server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/p9/local_server/local_server.go b/pkg/p9/local_server/local_server.go index b4db44e27..cef3701a7 100644 --- a/pkg/p9/local_server/local_server.go +++ b/pkg/p9/local_server/local_server.go @@ -70,8 +70,8 @@ func (l *local) info() (p9.QID, os.FileInfo, error) { } // Attach implements p9.Attacher.Attach. -func (l *local) Attach(name string) (p9.File, error) { - return &local{path: path.Clean(name)}, nil +func (l *local) Attach() (p9.File, error) { + return &local{path: "/"}, nil } // Walk implements p9.File.Walk. |