forked from ungleich-public/cdist
__acl: getfacl's -E not supported on FreeBSD
This commit is contained in:
parent
68f61c35ff
commit
f5d3196dd4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue