summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-22 16:24:31 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-22 16:24:31 +0530
commit2b57b6e0b1b936f45aa4ed8fd0ed2f57b7d370f3 (patch)
tree33c8f2e6f6213c63a0255891c46d7018488f63ab /main.go
parent2fe14eca63e9d3e907c7b725407c146a82cc129f (diff)
downloadlegit-2b57b6e0b1b936f45aa4ed8fd0ed2f57b7d370f3.tar.gz
legit-2b57b6e0b1b936f45aa4ed8fd0ed2f57b7d370f3.tar.bz2
legit-2b57b6e0b1b936f45aa4ed8fd0ed2f57b7d370f3.zip
unveil: /dev/null
Diffstat (limited to '')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 3827eee..0854e0c 100644
--- a/main.go
+++ b/main.go
@@ -25,6 +25,7 @@ func main() {
}
if err := UnveilPaths([]string{
+ "/dev/null",
c.Dirs.Static,
c.Repo.ScanPath,
c.Dirs.Templates,