From 8b3c84dfefc5e44fa4f5ae1daa40b87e46a5076a Mon Sep 17 00:00:00 2001
From: Ander Punnar <ander@kvlt.ee>
Date: Tue, 16 Apr 2019 23:15:58 +0300
Subject: [PATCH] __acl: remove whitespace before inline comments too

---
 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 70e18116..1c64ffb3 100755
--- a/cdist/conf/type/__acl/explorer/acl_is
+++ b/cdist/conf/type/__acl/explorer/acl_is
@@ -28,5 +28,5 @@ fi
 
 getfacl -E "/$__object_id" 2>/dev/null \
     | grep -E '^(default:)?(user|group|(mask|other):):[^:]' \
-    | sed -r 's/#.+$//' \
+    | sed -r 's/\s*#.+$//' \
     || true