aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/shim/parent.go
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-10-13 12:09:38 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-10-13 12:09:38 +0900
commitb47094191145277319b81feb6d1a7f0e3e20b906 (patch)
tree55770baea2b1166e1d8c0ad9a730318c6fee3d8a /internal/shim/parent.go
parente4536b87ad5bc23096eab00f17ac55b7aad23996 (diff)
shim: get rid of insane launch condition
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal/shim/parent.go')
-rw-r--r--internal/shim/parent.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/internal/shim/parent.go b/internal/shim/parent.go
index 7ffc1c41..98856555 100644
--- a/internal/shim/parent.go
+++ b/internal/shim/parent.go
@@ -80,11 +80,3 @@ func ServeConfig(socket string, payload *Payload, wl string, done chan struct{})
return ws, nil
}
}
-
-// Try runs shim and stops execution if FORTIFY_SHIM is set.
-func Try() {
- if s, ok := os.LookupEnv(EnvShim); ok {
- shim(s)
- }
- panic("unreachable")
-}