diff options
Diffstat (limited to 'src/pkg/os/exec/lp_unix.go')
-rw-r--r-- | src/pkg/os/exec/lp_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/os/exec/lp_unix.go b/src/pkg/os/exec/lp_unix.go index 2d3a919dc..216322199 100644 --- a/src/pkg/os/exec/lp_unix.go +++ b/src/pkg/os/exec/lp_unix.go @@ -23,7 +23,7 @@ func findExecutable(file string) error { if m := d.Mode(); !m.IsDir() && m&0111 != 0 { return nil } - return os.EPERM + return os.ErrPermission } // LookPath searches for an executable binary named file |