Upgrade to lynx v0.4.0

This commit is contained in:
Andinus 2020-04-24 19:46:49 +05:30
parent 1491618044
commit a01ce7b968
Signed by: andinus
GPG Key ID: B67D55D482A799FD
4 changed files with 4 additions and 15 deletions

View File

@ -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)
}

View File

@ -1,7 +0,0 @@
// +build !openbsd
package main
func main() {
app()
}

5
go.mod
View File

@ -2,7 +2,4 @@ module tildegit.org/andinus/cetus
go 1.13
require (
golang.org/x/sys v0.0.0-20200331124033-c3d80250170d
tildegit.org/andinus/lynx v0.1.0
)
require tildegit.org/andinus/lynx v0.4.0

2
go.sum
View File

@ -2,3 +2,5 @@ golang.org/x/sys v0.0.0-20200331124033-c3d80250170d h1:nc5K6ox/4lTFbMVSL9WRR81ix
golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
tildegit.org/andinus/lynx v0.1.0 h1:7YjyF8h7MBGKRgQZT0j0I3uHRPf3mI2GMiDujXVlLS0=
tildegit.org/andinus/lynx v0.1.0/go.mod h1:/PCNkKwfJ7pb6ziHa76a4gYp1R9S1Ro4ANjQwzSpBIk=
tildegit.org/andinus/lynx v0.4.0 h1:bAxZLOdWy66+qJ3bDWjkbmJfCWTIOZ8hMGzYt7T7Bxk=
tildegit.org/andinus/lynx v0.4.0/go.mod h1:/PCNkKwfJ7pb6ziHa76a4gYp1R9S1Ro4ANjQwzSpBIk=