aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/proc/priv/shim/manager.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-01-18 11:59:33 +0900
committerOphestra <cat@gensokyo.uk>2025-01-18 11:59:33 +0900
commit7baca66a56f67fa5722b689cbff747eac12b857e (patch)
treea2e6bf668d2a5ea52b5e113c08d65141dbcd5101 /internal/proc/priv/shim/manager.go
parent27d2914286495bf83b163172d5084a91222e7ed7 (diff)
proc: remove duplicate compile-time fortify reference
This is no longer needed since shim and init are now part of the main program. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/proc/priv/shim/manager.go')
-rw-r--r--internal/proc/priv/shim/manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/proc/priv/shim/manager.go b/internal/proc/priv/shim/manager.go
index 26b54925..1d1210b6 100644
--- a/internal/proc/priv/shim/manager.go
+++ b/internal/proc/priv/shim/manager.go
@@ -56,7 +56,7 @@ func (s *Shim) WaitFallback() chan error {
func (s *Shim) Start() (*time.Time, error) {
// prepare user switcher invocation
var fsu string
- if p, ok := internal.Check(internal.Fsu); !ok {
+ if p, ok := internal.Path(internal.Fsu); !ok {
fmsg.Fatal("invalid fsu path, this copy of fortify is not compiled correctly")
panic("unreachable")
} else {