Silence getfacl

otherwise it always prints the message:

    getfacl: Removing leading '/' from absolute path names
remotes/katolaz/master
Dimitrios Apostolou 6 years ago
parent 6062e3557c
commit 437af3a0a3
  1. 2
      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

Loading…
Cancel
Save