From 4ffeec3004607b76f73e504da220a1490c598348 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 15 Aug 2025 04:57:37 +0900 Subject: hst/enablement: editor friendly enablement adaptor Having the bit field value here (in decimal, no less) is unfriendly to text editors. Use a bunch of booleans here to improve ease of use. Signed-off-by: Ophestra --- internal/app/process_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/app/process_linux.go') diff --git a/internal/app/process_linux.go b/internal/app/process_linux.go index 11d4c8e9..c6df6feb 100644 --- a/internal/app/process_linux.go +++ b/internal/app/process_linux.go @@ -64,7 +64,7 @@ func (seal *outcome) Run(rs *RunState) error { // accumulate enablements of remaining launchers for i, s := range states { if s.Config != nil { - rt |= s.Config.Enablements + rt |= s.Config.Enablements.Unwrap() } else { log.Printf("state entry %d does not contain config", i) } -- cgit v1.3.1