From 651cdf9ccb0b787331f54a0c7544612fb3bdb1ef Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 31 Oct 2025 22:58:26 +0900 Subject: internal/outcome: remove guard on main This is no longer exported. Such a check is pointless. Signed-off-by: Ophestra --- internal/outcome/finalise.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'internal/outcome/finalise.go') diff --git a/internal/outcome/finalise.go b/internal/outcome/finalise.go index 184bd905..3e6a9e35 100644 --- a/internal/outcome/finalise.go +++ b/internal/outcome/finalise.go @@ -6,7 +6,6 @@ import ( "fmt" "os" "os/user" - "sync/atomic" "hakurei.app/hst" "hakurei.app/message" @@ -26,12 +25,9 @@ type outcome struct { sys *system.I // Transmitted to shim. Populated during finalise. state *outcomeState - // Kept for saving to [state]. + // Retained for registering current instance. config *hst.Config - // Whether the current process is in outcome.main. - active atomic.Bool - ctx context.Context syscallDispatcher } -- cgit v1.3.1