From 08c49d4dd3c60ae9ea1f645b277cdd5cc8f2b0c1 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Sat, 24 Dec 2022 15:05:04 +0530 Subject: unveil: remove git executable and /dev/null --- main.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.go b/main.go index 0854e0c..01b1e5d 100644 --- a/main.go +++ b/main.go @@ -20,12 +20,7 @@ func main() { log.Fatal(err) } - if err := Unveil("/usr/local/bin/git", "rx"); err != nil { - log.Fatalf("unveil: %s", err) - } - if err := UnveilPaths([]string{ - "/dev/null", c.Dirs.Static, c.Repo.ScanPath, c.Dirs.Templates, -- cgit