We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 000c9fe + a768de6 commit f11e74fCopy full SHA for f11e74f
internal/osext/osext_procfs.go
@@ -2,7 +2,7 @@
2
// Use of this source code is governed by a BSD-style
3
// license that can be found in the LICENSE file.
4
5
-// +build linux netbsd openbsd solaris dragonfly
+// +build linux netbsd openbsd solaris dragonfly android
6
7
package osext
8
@@ -16,7 +16,7 @@ import (
16
17
func executable() (string, error) {
18
switch runtime.GOOS {
19
- case "linux":
+ case "linux", "android":
20
const deletedTag = " (deleted)"
21
execpath, err := os.Readlink("/proc/self/exe")
22
if err != nil {
0 commit comments