__acl: getfacl's -E not supported on FreeBSD

remotes/katolaz/master
Ander Punnar 6 years ago
parent 68f61c35ff
commit f5d3196dd4
  1. 2
      cdist/conf/type/__acl/explorer/acl_is

@ -26,7 +26,7 @@ then
exit 1
fi
getfacl -E "/$__object_id" 2>/dev/null \
getfacl "/$__object_id" 2>/dev/null \
| grep -E '^(default:)?(user|group|(mask|other):):[^:]' \
| sed -r 's/\s*#.+$//' \
|| true

Loading…
Cancel
Save