Skip to content

Commit f11e74f

Browse files
authored
Merge pull request #10 from dogancanbakir/support_android
support android
2 parents 000c9fe + a768de6 commit f11e74f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/osext/osext_procfs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
// +build linux netbsd openbsd solaris dragonfly
5+
// +build linux netbsd openbsd solaris dragonfly android
66

77
package osext
88

@@ -16,7 +16,7 @@ import (
1616

1717
func executable() (string, error) {
1818
switch runtime.GOOS {
19-
case "linux":
19+
case "linux", "android":
2020
const deletedTag = " (deleted)"
2121
execpath, err := os.Readlink("/proc/self/exe")
2222
if err != nil {

0 commit comments

Comments
 (0)