aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/seal.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-27 01:22:40 +0900
committerOphestra <cat@gensokyo.uk>2025-03-27 01:22:40 +0900
commit300571af4777c8322bc0c7fafdf18a5879c237e6 (patch)
tree64872676dd0c4aa61d6b19982c80b8e9f87e3e9f /internal/app/seal.go
parent32c90ef4e737f25f57cfa9f493c9cd7f6950c508 (diff)
app: pass through $SHELL
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/seal.go')
-rw-r--r--internal/app/seal.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/app/seal.go b/internal/app/seal.go
index 80e95370..9d338780 100644
--- a/internal/app/seal.go
+++ b/internal/app/seal.go
@@ -255,8 +255,9 @@ func (seal *outcome) finalise(ctx context.Context, sys sys.State, config *fst.Co
mapuid = newInt(uid)
mapgid = newInt(gid)
if seal.env == nil {
- seal.env = make(map[string]string)
+ seal.env = make(map[string]string, 1<<6)
}
+ seal.env[shell] = shellPath
}
/*