diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/cetus/app.go | 2 | ||||
-rw-r--r-- | cmd/cetus/main_openbsd.go | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/cmd/cetus/app.go b/cmd/cetus/app.go index d41edc4..5c9d0e9 100644 --- a/cmd/cetus/app.go +++ b/cmd/cetus/app.go @@ -9,7 +9,7 @@ import ( ) var ( - version string = "v0.6.4" + version string = "v0.6.5" dump bool random bool notify bool diff --git a/cmd/cetus/main_openbsd.go b/cmd/cetus/main_openbsd.go index a140071..ae3ac39 100644 --- a/cmd/cetus/main_openbsd.go +++ b/cmd/cetus/main_openbsd.go @@ -38,7 +38,9 @@ func unveil() { for k, v := range unveilL { err = unix.Unveil(k, v) - if err != nil && err.Error() != "no such file or directory" { + if err != nil && err.Error() == "no such file or directory" { + log.Printf("WARN: Unveil failed on %s", k) + } else if err != nil { log.Fatal(fmt.Sprintf("%s :: %s\n%s", k, v, err.Error())) } |