From 437af3a0a381a70ae85b9784a25e24a1794a9e1c Mon Sep 17 00:00:00 2001
From: Dimitrios Apostolou <jimis@gmx.net>
Date: Mon, 15 Apr 2019 20:51:02 +0200
Subject: [PATCH] Silence getfacl

otherwise it always prints the message:

    getfacl: Removing leading '/' from absolute path names
---
 cdist/conf/type/__acl/explorer/acl_is | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cdist/conf/type/__acl/explorer/acl_is b/cdist/conf/type/__acl/explorer/acl_is
index fbb1be3f..e2ae0932 100755
--- a/cdist/conf/type/__acl/explorer/acl_is
+++ b/cdist/conf/type/__acl/explorer/acl_is
@@ -20,7 +20,7 @@
 
 if [ -e "/$__object_id" ]
 then
-    getfacl "/$__object_id" \
+    getfacl "/$__object_id" 2>/dev/null \
         | grep -E '^((default:)?(user|group):[^:]|(default:)?mask::)' \
         || true
 fi