Silence getfacl

otherwise it always prints the message:

    getfacl: Removing leading '/' from absolute path names
This commit is contained in:
Dimitrios Apostolou 2019-04-15 20:51:02 +02:00
parent 6062e3557c
commit 437af3a0a3
1 changed files with 1 additions and 1 deletions

View File

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