From 6e6648e344c889767240a33f42febf9498250131 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Thu, 22 Dec 2022 11:22:47 +0530 Subject: unveil: add git executable --- unveil.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'unveil.go') diff --git a/unveil.go b/unveil.go index 9fe5e10..3b4803e 100644 --- a/unveil.go +++ b/unveil.go @@ -20,8 +20,7 @@ func UnveilBlock() error { func UnveilPaths(paths []string, perms string) error { for _, path := range paths { - err := Unveil(path, perms) - if err != nil { + if err := Unveil(path, perms); err != nil { return err } } -- cgit