aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/spcontainer.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-10 01:20:16 +0900
committerOphestra <cat@gensokyo.uk>2025-10-10 01:21:01 +0900
commit4246256d781f169b86f76d8654f6df5ffc6ddae6 (patch)
tree71f05518ff960873661788c3dcf581eed314322b /internal/app/spcontainer.go
parenta941ac025f9f3a942cab04a6f2447e4cab0e616c (diff)
internal/app: hold config address in state
This can be removed eventually as it is barely used. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/spcontainer.go')
-rw-r--r--internal/app/spcontainer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/app/spcontainer.go b/internal/app/spcontainer.go
index ee2833bf..b6378312 100644
--- a/internal/app/spcontainer.go
+++ b/internal/app/spcontainer.go
@@ -32,7 +32,7 @@ type spParamsOp struct {
TermSet bool
}
-func (s *spParamsOp) toSystem(state *outcomeStateSys, _ *hst.Config) error {
+func (s *spParamsOp) toSystem(state *outcomeStateSys) error {
s.Term, s.TermSet = state.k.lookupEnv("TERM")
state.sys.Ensure(state.sc.SharePath, 0711)
return nil
@@ -122,7 +122,7 @@ func init() { gob.Register(spFilesystemOp{}) }
// spFilesystemOp applies configured filesystems to [container.Params], excluding the optional root filesystem.
type spFilesystemOp struct{}
-func (s spFilesystemOp) toSystem(state *outcomeStateSys, _ *hst.Config) error {
+func (s spFilesystemOp) toSystem(state *outcomeStateSys) error {
/* retrieve paths and hide them if they're made available in the sandbox;
this feature tries to improve user experience of permissive defaults, and