__acl: getfacl's -E not supported on FreeBSD

This commit is contained in:
ander 2019-04-19 11:31:38 +03:00
parent 68f61c35ff
commit f5d3196dd4

View file

@ -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