diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-11 02:52:32 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-11 04:56:42 +0900 |
| commit | e99d7affb0c128fa82722f9b3d79c99b5e5918cd (patch) | |
| tree | 387e08d6c4363d8b9e0462f069c140fbdb15c917 /internal/app/process_linux.go | |
| parent | 41ac2be9658b49c68cb793f3a6f0c5932d82e1c2 (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.go | 4 |
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(), }) }() |
