From 7368b4cfe43886d1a6cfd32addb7fa5775627983 Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Tue, 19 May 2026 15:33:27 +0200 Subject: [PATCH] fix: mount proxy uses OLLIE_UNAME so checkPerm identifies session owner --- cmd/ollie-9p-mount/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/ollie-9p-mount/main.go b/cmd/ollie-9p-mount/main.go index bf2e81e..665cb68 100644 --- a/cmd/ollie-9p-mount/main.go +++ b/cmd/ollie-9p-mount/main.go @@ -9,7 +9,7 @@ // // ollie-9p-mount [-u uname] [-s service] [-addr address] // -// If -u is not given, $OLLIE_SESSION_ID is used. +// If -u is not given, $OLLIE_UNAME is used. package main import ( @@ -42,10 +42,10 @@ func main() { uname := *userFlag if uname == "" { - uname = os.Getenv("OLLIE_SESSION_ID") + uname = os.Getenv("OLLIE_UNAME") } if uname == "" { - fmt.Fprintf(os.Stderr, "ollie-9p-mount: no uname (-u or $OLLIE_SESSION_ID)\n") + fmt.Fprintf(os.Stderr, "ollie-9p-mount: no uname (-u or $OLLIE_UNAME)\n") os.Exit(1) }