summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-24 15:05:04 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-24 15:05:04 +0530
commit08c49d4dd3c60ae9ea1f645b277cdd5cc8f2b0c1 (patch)
tree2c3ff5bd9861781fbb5928e85fd5ffef51daaf1c /main.go
parentfa66c4faa8e54a81e5c84fec1b73da374f7e0909 (diff)
downloadlegit-08c49d4dd3c60ae9ea1f645b277cdd5cc8f2b0c1.tar.gz
legit-08c49d4dd3c60ae9ea1f645b277cdd5cc8f2b0c1.tar.bz2
legit-08c49d4dd3c60ae9ea1f645b277cdd5cc8f2b0c1.zip
unveil: remove git executable and /dev/null
Diffstat (limited to '')
-rw-r--r--main.go5
1 files changed, 0 insertions, 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,