summary refs log tree commit diff stats
path: root/cmd/cetus
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-04-24 19:46:49 +0530
committerAndinus <andinus@nand.sh>2020-04-24 19:46:49 +0530
commita01ce7b96892849d91911a2ef143a08b8e4e57c5 (patch)
tree2a5b7148c34051bfb674c52a40e6e924ab43c6dd /cmd/cetus
parent14916180447e88eafe09c6a7e8289baacd2194ad (diff)
downloadcetus-a01ce7b96892849d91911a2ef143a08b8e4e57c5.tar.gz
Upgrade to lynx v0.4.0
Diffstat (limited to 'cmd/cetus')
-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()
-}