diff options
author | Andinus <andinus@nand.sh> | 2020-04-15 00:24:55 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-04-15 00:24:55 +0530 |
commit | a129334aefa559e36783347c5243303a6dd8b104 (patch) | |
tree | dfd3964ccf879037b14a7a917641963b45e123b9 /path.go | |
parent | 0dfcf8cb81daa80aa751a5a40c243e64ee030929 (diff) | |
download | lynx-a129334aefa559e36783347c5243303a6dd8b104.tar.gz |
Compile for non OpenBSD systems
Previously the compilation would fail for non OpenBSD systems & the user had to manage it themselves. Now it compiles on non OpenBSD systems but returns nil immediately because unveil isn't supported on those systems.
Diffstat (limited to 'path.go')
-rw-r--r-- | path.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/path.go b/path.go index 8f3dcc2..a04c723 100644 --- a/path.go +++ b/path.go @@ -1,3 +1,5 @@ +// +build openbsd + package lynx import "golang.org/x/sys/unix" |