aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/lp_wasm.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/exec/lp_wasm.go')
-rw-r--r--src/os/exec/lp_wasm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/exec/lp_wasm.go b/src/os/exec/lp_wasm.go
index 3c819049ba..1de9076e53 100644
--- a/src/os/exec/lp_wasm.go
+++ b/src/os/exec/lp_wasm.go
@@ -17,7 +17,7 @@ var ErrNotFound = errors.New("executable file not found in $PATH")
// directories named by the PATH environment variable.
// If file contains a slash, it is tried directly and the PATH is not consulted.
// The result may be an absolute path or a path relative to the current directory.
-func LookPath(file string) (string, error) {
+func lookPath(file string) (string, error) {
// Wasm can not execute processes, so act as if there are no executables at all.
return "", &Error{file, ErrNotFound}
}