summaryrefslogtreecommitdiffstats
path: root/unveil.go
diff options
context:
space:
mode:
Diffstat (limited to 'unveil.go')
-rw-r--r--unveil.go3
1 files changed, 1 insertions, 2 deletions
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
}
}