Commit ded29e7b authored by Michael Hendricks's avatar Michael Hendricks Committed by Brad Fitzpatrick

os: fix documentation for Executable on OpenBSD

Executable on OpenBSD now uses Args[0] so procfs is no longer
required.

Change-Id: I4155ac76f8909499783e876e92ee4f13a35b47dd
Reviewed-on: https://go-review.googlesource.com/46211Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 7b659eb1
......@@ -16,8 +16,7 @@ package os
// The main use case is finding resources located relative to an
// executable.
//
// Executable is not supported on nacl or OpenBSD (unless procfs is
// mounted.)
// Executable is not supported on nacl.
func Executable() (string, error) {
return executable()
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment