aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/check/absolute_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-10 20:35:59 +0900
committerOphestra <cat@gensokyo.uk>2025-11-10 20:35:59 +0900
commit2f74adc8bdeda2499be0a8b2711f68c342695bf2 (patch)
tree4a4b4f0899e0d56b3ca5c228298f978bc1f984bb /container/check/absolute_test.go
parentd7e0104ae4da25f455630aae044adf165201c9b5 (diff)
container/init: close initial process files on termination
This closes them during the adopt wait delay. This also keeps them alive. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/check/absolute_test.go')
-rw-r--r--container/check/absolute_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/container/check/absolute_test.go b/container/check/absolute_test.go
index 5cb96d79..466bbacb 100644
--- a/container/check/absolute_test.go
+++ b/container/check/absolute_test.go
@@ -9,7 +9,7 @@ import (
"strings"
"syscall"
"testing"
- _ "unsafe"
+ _ "unsafe" // for go:linkname
. "hakurei.app/container/check"
)