aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/executable.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/executable.go')
-rw-r--r--container/executable.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/container/executable.go b/container/executable.go
index 67c43a70..b825306a 100644
--- a/container/executable.go
+++ b/container/executable.go
@@ -28,6 +28,9 @@ func copyExecutable(msg message.Msg) {
}
}
+// MustExecutable calls [os.Executable] and terminates the process on error.
+//
+// Deprecated: This is no longer used and will be removed in 0.4.
func MustExecutable(msg message.Msg) string {
executableOnce.Do(func() { copyExecutable(msg) })
return executable