aboutsummaryrefslogtreecommitdiff
path: root/src/os/executable_procfs.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/executable_procfs.go')
-rw-r--r--src/os/executable_procfs.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/os/executable_procfs.go b/src/os/executable_procfs.go
index 2628223b8d..5ee41a4b2e 100644
--- a/src/os/executable_procfs.go
+++ b/src/os/executable_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 linux netbsd dragonfly js,wasm
+// +build linux netbsd js,wasm
package os
@@ -23,8 +23,6 @@ var executablePath, executablePathErr = func() (string, error) {
procfn = "/proc/self/exe"
case "netbsd":
procfn = "/proc/curproc/exe"
- case "dragonfly":
- procfn = "/proc/curproc/file"
}
return Readlink(procfn)
}()