summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/kardianos/osext/osext_procfs.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/kardianos/osext/osext_procfs.go')
-rw-r--r--vendor/github.com/kardianos/osext/osext_procfs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/kardianos/osext/osext_procfs.go b/vendor/github.com/kardianos/osext/osext_procfs.go
index 7b0debbb..e1f16f88 100644
--- a/vendor/github.com/kardianos/osext/osext_procfs.go
+++ b/vendor/github.com/kardianos/osext/osext_procfs.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build !go1.8,linux !go1.8,netbsd !go1.8,solaris !go1.8,dragonfly
+// +build !go1.8,android !go1.8,linux !go1.8,netbsd !go1.8,solaris !go1.8,dragonfly
package osext
@@ -16,7 +16,7 @@ import (
func executable() (string, error) {
switch runtime.GOOS {
- case "linux":
+ case "linux", "android":
const deletedTag = " (deleted)"
execpath, err := os.Readlink("/proc/self/exe")
if err != nil {