forked from ungleich-public/cdist
Silence getfacl
otherwise it always prints the message: getfacl: Removing leading '/' from absolute path names
This commit is contained in:
parent
6062e3557c
commit
437af3a0a3
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
if [ -e "/$__object_id" ]
|
if [ -e "/$__object_id" ]
|
||||||
then
|
then
|
||||||
getfacl "/$__object_id" \
|
getfacl "/$__object_id" 2>/dev/null \
|
||||||
| grep -E '^((default:)?(user|group):[^:]|(default:)?mask::)' \
|
| grep -E '^((default:)?(user|group):[^:]|(default:)?mask::)' \
|
||||||
|| true
|
|| true
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue