From 7baca66a56f67fa5722b689cbff747eac12b857e Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 18 Jan 2025 11:59:33 +0900 Subject: 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 --- internal/proc/priv/shim/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/proc/priv/shim/manager.go') 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 { -- cgit v1.3.1