summary refs log tree commit diff stats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cetus/main.go (renamed from cmd/cetus/main_openbsd.go)5
-rw-r--r--cmd/cetus/main_other.go7
2 files changed, 1 insertions, 11 deletions
diff --git a/cmd/cetus/main_openbsd.go b/cmd/cetus/main.go
index 7e19f5b..b8098be 100644
--- a/cmd/cetus/main_openbsd.go
+++ b/cmd/cetus/main.go
@@ -1,11 +1,8 @@
-// +build openbsd
-
 package main
 
 import (
 	"log"
 
-	"golang.org/x/sys/unix"
 	"tildegit.org/andinus/cetus/cache"
 	"tildegit.org/andinus/lynx"
 )
@@ -43,7 +40,7 @@ func unveil() {
 	}
 
 	// Block further unveil calls
-	err = unix.UnveilBlock()
+	err = lynx.UnveilBlock()
 	if err != nil {
 		log.Fatal(err)
 	}
diff --git a/cmd/cetus/main_other.go b/cmd/cetus/main_other.go
deleted file mode 100644
index d39e66f..0000000
--- a/cmd/cetus/main_other.go
+++ /dev/null
@@ -1,7 +0,0 @@
-// +build !openbsd
-
-package main
-
-func main() {
-	app()
-}