aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/process_linux.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-11 02:52:32 +0900
committerOphestra <cat@gensokyo.uk>2025-08-11 04:56:42 +0900
commite99d7affb0c128fa82722f9b3d79c99b5e5918cd (patch)
tree387e08d6c4363d8b9e0462f069c140fbdb15c917 /internal/app/process_linux.go
parent41ac2be9658b49c68cb793f3a6f0c5932d82e1c2 (diff)
container: use absolute for pathname
This is simultaneously more efficient and less error-prone. This change caused minor API changes in multiple other packages. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/process_linux.go')
-rw-r--r--internal/app/process_linux.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/app/process_linux.go b/internal/app/process_linux.go
index 088deab3..11d4c8e9 100644
--- a/internal/app/process_linux.go
+++ b/internal/app/process_linux.go
@@ -39,7 +39,7 @@ func (seal *outcome) Run(rs *RunState) error {
if err := seal.sys.Commit(seal.ctx); err != nil {
return err
}
- store := state.NewMulti(seal.runDirPath)
+ store := state.NewMulti(seal.runDirPath.String())
deferredStoreFunc := func(c state.Cursor) error { return nil } // noop until state in store
defer func() {
var revertErr error
@@ -128,7 +128,7 @@ func (seal *outcome) Run(rs *RunState) error {
os.Getpid(),
seal.waitDelay,
seal.container,
- seal.user.data,
+ seal.user.data.String(),
hlog.Load(),
})
}()