diff options
author | Andinus <andinus@nand.sh> | 2020-04-05 14:18:36 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-04-05 14:18:36 +0530 |
commit | 9f3b4257a642b4229afbf87e1705da0e6115031b (patch) | |
tree | e6fab215521497911f3d484df7c7f2a1eb75a4f3 | |
parent | 68b5fcce0d108cf37273f1a505f8f8b21aeafc4c (diff) | |
download | cetus-9f3b4257a642b4229afbf87e1705da0e6115031b.tar.gz |
Fix notifications on OpenBSD
-rw-r--r-- | cmd/cetus/main_openbsd.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/cetus/main_openbsd.go b/cmd/cetus/main_openbsd.go index ae3ac39..24da43f 100644 --- a/cmd/cetus/main_openbsd.go +++ b/cmd/cetus/main_openbsd.go @@ -51,6 +51,11 @@ func unveil() { log.Fatal(err) } + err = unveilCmd("notify-send") + if err != nil { + log.Fatal(err) + } + // Block further unveil calls err = unix.UnveilBlock() if err != nil { |