unveil: remove git executable and /dev/null

This commit is contained in:
Anirudh Oppiliappan 2022-12-24 15:05:04 +05:30
parent fa66c4faa8
commit 08c49d4dd3
No known key found for this signature in database
GPG Key ID: 8A93F96F78C5D4C4
1 changed files with 0 additions and 5 deletions

View File

@ -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,