all repos — elgit @ 08c49d4dd3c60ae9ea1f645b277cdd5cc8f2b0c1

fork of legit: web frontend for git, written in go

unveil: remove git executable and /dev/null
Anirudh Oppiliappan x@icyphox.sh
Sat, 24 Dec 2022 15:05:04 +0530
commit

08c49d4dd3c60ae9ea1f645b277cdd5cc8f2b0c1

parent

fa66c4faa8e54a81e5c84fec1b73da374f7e0909

1 files changed, 0 insertions(+), 5 deletions(-)

jump to
M main.gomain.go
@@ -20,12 +20,7 @@ if err != nil { 		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,